public abstract class IPCSession extends Session
Contains the details of a connection to a remote named pipe service.
Closed, DBGDumpPacket, DBGHexDump, DBGPacketType, DBGSigning, DEFAULT_BUFSIZE, m_pkt, m_treeid, NO_TRANSACTION, SecurityModeShare, SecurityModeUser
Modifier | Constructor and Description |
---|---|
protected |
IPCSession(PCShare shr,
int dialect)
Construct an IPC session
|
Modifier and Type | Method and Description |
---|---|
void |
CloseSession()
Close the connection to the IPC$ named pipe
|
abstract void |
SendTransaction(TransPacket tpkt,
TransPacket rxpkt)
Send/receive an SMB transaction packet on this pipe session
|
allocatePacket, disableSMBSigning, enableSMBSigning, getCapabilities, getDefaultFlags, getDefaultFlags2, getDeviceType, getDialect, getDialectString, getDomain, getEncryptionKey, getLANManagerType, getMaximumMultiplexedRequests, getMaximumPacketSize, getMaximumVirtualCircuits, getNextMultiplexId, getNextSessionId, getOperatingSystem, getPassword, getPCShare, getProcessId, getSecurityMode, getServer, getSession, getSessionId, getShareName, getSMBSequence, getTreeId, getUserId, getUserName, hasActiveTransaction, hasDataAvailable, hasDebug, hasDebugOption, hasEncryptionKey, hasSMBSigning, isActive, isGuest, isUnicode, pingServer, pingServer, processAsynchResponse, setCapabilities, setDebug, setDefaultFlags, setDefaultFlags2, setDeviceType, setDialect, setDialectString, setDomain, setEncryptionKey, setGuest, setLANManagerType, setMaximumMultiplexedRequests, setMaximumPacketSize, setMaximumVirtualCircuits, setOperatingSystem, setPassword, setProcessId, setSecurityMode, setServer, setSession, setShareName, setSMBSequence, setTransactionMID, setTreeId, setUserId, setUserName, signTxPacket, supportsLargeFiles, supportsLevel2Oplocks, supportsLockAndRead, supportsNTFind, supportsNTSmbs, supportsNTStatusCodes, supportsRawMode, supportsRPCAPIs, supportsUnicode, toString, verifyRxPacket
protected IPCSession(PCShare shr, int dialect)
shr
- Remote server details.dialect
- SMB dialect that this session is usingpublic abstract void SendTransaction(TransPacket tpkt, TransPacket rxpkt) throws java.io.IOException, SMBException
tpkt
- SMBTransPacket to sendrxpkt
- Packet to receive the reply intojava.io.IOException
- If an I/O error occursSMBException
- If an SMB error occurspublic void CloseSession() throws java.io.IOException, SMBException
CloseSession
in class Session
java.io.IOException
SMBException
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.