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,
java.lang.String name,
int maxTx,
int maxRx)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionInfoList |
getConnectionList(java.lang.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(java.lang.String clientName,
java.lang.String userName)
Return a list of the active sessions
|
ShareInfo |
getShareInformation(java.lang.String shareName)
Return detailed information for a share
|
ShareInfo |
getShareInformation(java.lang.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, java.lang.String name, int maxTx, int maxRx)
sess - SMBIPCSessionpkt - DCEPackethandle - intname - StringmaxTx - intmaxRx - intpublic final ServerInfo getServerInformation() throws java.io.IOException, SMBException
java.io.IOExceptionSMBExceptionpublic final ShareInfoList getShareList() throws java.io.IOException, SMBException
java.io.IOExceptionSMBExceptionpublic final ShareInfoList getShareList(boolean wantAdmin) throws java.io.IOException, SMBException
wantAdmin - booleanjava.io.IOExceptionSMBExceptionpublic final ShareInfo getShareInformation(java.lang.String shareName) throws java.io.IOException, SMBException
shareName - Stringjava.io.IOExceptionSMBExceptionpublic final ShareInfo getShareInformation(java.lang.String shareName, int infoLevel) throws java.io.IOException, SMBException
shareName - StringinfoLevel - intjava.io.IOExceptionSMBExceptionpublic final SessionInfoList getSessionList(java.lang.String clientName, java.lang.String userName) throws java.io.IOException, SMBException
clientName - StringuserName - Stringjava.io.IOExceptionSMBExceptionpublic final ConnectionInfoList getConnectionList(java.lang.String clientOrShare) throws java.io.IOException, SMBException
clientOrShare - Stringjava.io.IOExceptionSMBExceptionpublic final ServerFileInfoList getOpenFileList() throws java.io.IOException, SMBException
java.io.IOExceptionSMBExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.