public class ClientSessionContainer
extends java.lang.Object
Title: FileCatalyst Direct Server API
Description: Session container used by the Server-side API. Used to view sessions which are running on a FileCatalyst Server.
Modifier and Type | Field and Description |
---|---|
long |
bytesSoFar
Bytes sent so far in transfer
|
java.lang.String |
clientType
Client type connecting.
|
int |
connectedTimeSec
Time spend so far connected to the server, in seconds.
|
long |
deliveryTime
Non-zero value indicates that the server as been asked to elevate the bandwidth/priority
of this file/session in order to ensure that the file arrives before the given
timestamp.
|
long |
elapsedTimeSec
Time spend so far on transfer, in seconds.
|
java.lang.String |
fileName
Full path of the file being sent/received from the server's perspective.
|
long |
fileSizeBytes
Size of file (bytes) if known to the server.
|
boolean |
isTransferring
true/false value if client is currently transfering data.
|
int |
overrideBandwidthKbps
Non-zero value indicates that the server has been asked to override the bandwidth
allocated to this transfer/session by an administrator.
|
int |
overridePriority
Non-zero value indicates that the server has been asked to override the priority
allocated to this transfer/session by an administrator.
|
int |
receiveRateKbps
Receive rate in Kbps (kilo bits per second)
non-zero value indicates someone is uploading.
|
java.lang.String |
remoteIP
Remote IP as presented to the server by the remote client.
|
java.lang.String |
sessionID
Unique identifier of a a single client connecting into the server.
|
java.lang.String |
status
Status of a connection.
|
int |
transmitRateKbps
Transmit rate in Kbps (kilo bits per second)
non-zero value indicates someone is downloading.
|
java.lang.String |
userName
Username used when authenticating with the server.
|
Constructor and Description |
---|
ClientSessionContainer(java.lang.String sessionID,
java.lang.String userName,
java.lang.String remoteIP,
java.lang.String status,
java.lang.String fileName,
long fileSize,
long bytesSoFar,
long elapsedTime,
java.lang.String clientType,
int transmitRateKbps,
int receiveRateKbps,
int connectedTimeSec,
boolean isTransferring,
int overrideBandwidth,
int overridePriority,
long deliveryTime)
Basic constructor.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
listHeaders()
ListHeaders() is used by FCServer in CLI mode to output the list of session data.
|
java.lang.String |
toString()
To String method, used by FCServer in CLI mode to output the list of session data.
|
public java.lang.String sessionID
public java.lang.String userName
public java.lang.String remoteIP
public java.lang.String status
public java.lang.String fileName
public long fileSizeBytes
public long bytesSoFar
public long elapsedTimeSec
public java.lang.String clientType
public int transmitRateKbps
public int receiveRateKbps
public int connectedTimeSec
public boolean isTransferring
public int overrideBandwidthKbps
public int overridePriority
public long deliveryTime
public ClientSessionContainer(java.lang.String sessionID, java.lang.String userName, java.lang.String remoteIP, java.lang.String status, java.lang.String fileName, long fileSize, long bytesSoFar, long elapsedTime, java.lang.String clientType, int transmitRateKbps, int receiveRateKbps, int connectedTimeSec, boolean isTransferring, int overrideBandwidth, int overridePriority, long deliveryTime)
sessionID
- ID representing the sessionuserName
- Username of user within the client sessionremoteIP
- Remote IP of the client sessionstatus
- The current status of the client sessionfileName
- The current file name of the client sessionfileSizeBytes
- The current file size in bytesbytesSoFar
- The bytes transfered so farelapsedTimeSec
- The elapsed amount of time in secondsclientType
- The type of client being used in this sessiontransmitRateKbps
- The transfer rate in kbpsreceiveRateKbps
- The receive rate in kbpsconnectedTimeSec
- Amount of seconds that will pass before a connection request times outisTransferring
- Whether or not the session is still transferringoverrideBandwidthKbps
- The amount of bandwidth allotted to the session if it has been overriddenoverridePriority
- The overridden priority allotted to the sessiondeliveryTime
- Expected delievery time of the client sessionpublic static java.lang.String listHeaders()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2015 Unlimi-Tech Sofware Inc. All Rights Reserved.