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, toString
public 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.IOException
SMBException
public final ShareInfoList getShareList() throws java.io.IOException, SMBException
java.io.IOException
SMBException
public final ShareInfoList getShareList(boolean wantAdmin) throws java.io.IOException, SMBException
wantAdmin
- booleanjava.io.IOException
SMBException
public final ShareInfo getShareInformation(java.lang.String shareName) throws java.io.IOException, SMBException
shareName
- Stringjava.io.IOException
SMBException
public final ShareInfo getShareInformation(java.lang.String shareName, int infoLevel) throws java.io.IOException, SMBException
shareName
- StringinfoLevel
- intjava.io.IOException
SMBException
public final SessionInfoList getSessionList(java.lang.String clientName, java.lang.String userName) throws java.io.IOException, SMBException
clientName
- StringuserName
- Stringjava.io.IOException
SMBException
public final ConnectionInfoList getConnectionList(java.lang.String clientOrShare) throws java.io.IOException, SMBException
clientOrShare
- Stringjava.io.IOException
SMBException
public final ServerFileInfoList getOpenFileList() throws java.io.IOException, SMBException
java.io.IOException
SMBException
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.