public class SrvsvcPipeFile extends IPCPipeFile
Pipe file connected to a remote file server DCE/RPC service that can be used to receive information about the remote server such as the list of available shares, and active sessions.
| Constructor and Description |
|---|
SrvsvcPipeFile(IPCSession sess,
DCEPacket pkt,
int handle,
String name,
int maxTx,
int maxRx)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionInfoList |
getConnectionList(String clientOrShare)
Return a list of the active connections
|
ServerFileInfoList |
getOpenFileList()
Return a list of the open files
|
ServerInfo |
getServerInformation()
Return the servier information
|
SessionInfoList |
getSessionList(String clientName,
String userName)
Return a list of the active sessions
|
ShareInfo |
getShareInformation(String shareName)
Return detailed information for a share
|
ShareInfo |
getShareInformation(String shareName,
int infoLevel)
Return detailed information for a share
|
ShareInfoList |
getShareList()
Return a list of normal shares available on the server, ie.
|
ShareInfoList |
getShareList(boolean wantAdmin)
Return a list of the shares available on the server
|
checkStatus, ClosePipe, doDCERequest, doDCERequest, getBuffer, getCallId, getHandle, getMaximumReceiveSize, getMaximumTransmitSize, getNextCallId, getPacket, getPipeName, getRxBuffer, getSession, isClosed, setMaximumReceiveSize, setMaximumTransmitSize, toStringpublic SrvsvcPipeFile(IPCSession sess, DCEPacket pkt, int handle, String name, int maxTx, int maxRx)
sess - SMBIPCSessionpkt - DCEPackethandle - intname - StringmaxTx - intmaxRx - intpublic final ServerInfo getServerInformation() throws IOException, SMBException
IOExceptionSMBExceptionpublic final ShareInfoList getShareList() throws IOException, SMBException
IOExceptionSMBExceptionpublic final ShareInfoList getShareList(boolean wantAdmin) throws IOException, SMBException
wantAdmin - booleanIOExceptionSMBExceptionpublic final ShareInfo getShareInformation(String shareName) throws IOException, SMBException
shareName - StringIOExceptionSMBExceptionpublic final ShareInfo getShareInformation(String shareName, int infoLevel) throws IOException, SMBException
shareName - StringinfoLevel - intIOExceptionSMBExceptionpublic final SessionInfoList getSessionList(String clientName, String userName) throws IOException, SMBException
clientName - StringuserName - StringIOExceptionSMBExceptionpublic final ConnectionInfoList getConnectionList(String clientOrShare) throws IOException, SMBException
clientOrShare - StringIOExceptionSMBExceptionpublic final ServerFileInfoList getOpenFileList() throws IOException, SMBException
IOExceptionSMBExceptionCopyright © 2005–2020 Alfresco Software. All rights reserved.