public class ConnectionInfo extends java.lang.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 |
---|---|
java.lang.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
|
java.lang.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
|
java.lang.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 java.lang.String getUserName()
public final java.lang.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
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.