public class ConnectionInfo extends Object implements DCEReadable
Contains the details of a connection on a remote server.
Constructor and Description |
---|
ConnectionInfo()
Default constructor
|
ConnectionInfo(int infoLevel)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getClientName()
Return the client name
|
int |
getConnectionId()
Get the connection id
|
int |
getConnectionTime()
Return the connection time in seconds
|
int |
getConnectionType()
Get the connection type
|
int |
getInformationLevel()
Get the information level
|
int |
getNumberOfUsers()
Return the number of users on the connection
|
int |
getOpenFileCount()
Get the number of open files on the connection
|
String |
getUserName()
Return the user name
|
void |
readObject(DCEBuffer buf)
Read a connection information object from a DCE buffer
|
void |
readStrings(DCEBuffer buf)
Read the strings for this connection information from the DCE/RPC buffer
|
String |
toString()
Return the connection information as a string
|
public ConnectionInfo()
public ConnectionInfo(int infoLevel)
infoLevel
- intpublic final int getInformationLevel()
public final int getConnectionId()
public final int getConnectionType()
public final int getOpenFileCount()
public final int getNumberOfUsers()
public final int getConnectionTime()
public final String getUserName()
public final String getClientName()
public void readObject(DCEBuffer buf) throws DCEBufferException
readObject
in interface DCEReadable
buf
- DCEBufferDCEBufferException
public void readStrings(DCEBuffer buf) throws DCEBufferException
readStrings
in interface DCEReadable
buf
- DCEBufferDCEBufferException
Copyright © 2005–2018 Alfresco Software. All rights reserved.