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, toString
public 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
IOException
SMBException
public final ShareInfoList getShareList() throws IOException, SMBException
IOException
SMBException
public final ShareInfoList getShareList(boolean wantAdmin) throws IOException, SMBException
wantAdmin
- booleanIOException
SMBException
public final ShareInfo getShareInformation(String shareName) throws IOException, SMBException
shareName
- StringIOException
SMBException
public final ShareInfo getShareInformation(String shareName, int infoLevel) throws IOException, SMBException
shareName
- StringinfoLevel
- intIOException
SMBException
public final SessionInfoList getSessionList(String clientName, String userName) throws IOException, SMBException
clientName
- StringuserName
- StringIOException
SMBException
public final ConnectionInfoList getConnectionList(String clientOrShare) throws IOException, SMBException
clientOrShare
- StringIOException
SMBException
public final ServerFileInfoList getOpenFileList() throws IOException, SMBException
IOException
SMBException
Copyright © 2005–2017 Alfresco Software. All rights reserved.