|
ClientSessionMBean documentation
Bean Description > List of attributes > List of operations > Attributes declaration > Operations declaration
Bean Description
Description : A server session
Type : net.sbbi.jafs.session.ClientSession
Domain : sessions
ClassName : net.sbbi.jafs.management.ClientSessionMBean
List of attributes
averageDownloadSpeed, averageUploadSpeed, controlSecurityProtocol, currentCredits, currentPath, dataSecurityProtocol, downloading, DTPPort, hostIp, PASVMode, PIPort, processedFile, sessionTime, totalReadenBytes, totalWrittenBytes, transfertMode, transfertType, uploading, userName
List of operations
addCredits, ban, endSession, endSessionMsg, removeCredits, sendMessage, whois
| sessionTime | |
|
|
|
| Description | The session time |
|
|
|
| Type | long |
|
|
|
| Writeable | false |
| userName | |
|
|
|
| Description | The user name used by the client |
|
|
|
| Type | java.lang.String |
|
|
|
| Writeable | false |
| currentPath | |
|
|
|
| Description | The current location of the client on the server |
|
|
|
| Type | java.lang.String |
|
|
|
| Writeable | false |
| PASVMode | |
|
|
|
| Description | Tells if the client is in PASV mode or not |
|
|
|
| Type | java.lang.Boolean |
|
|
|
| Writeable | false |
| hostIp | |
|
|
|
| Description | The host's IP address |
|
|
|
| Type | java.lang.String |
|
|
|
| Writeable | false |
| DTPPort | |
|
|
|
| Description | The host's DTP port address |
|
|
|
| Type | java.lang.Integer |
|
|
|
| Writeable | false |
| PIPort | |
|
|
|
| Description | The host's PI port address |
|
|
|
| Type | java.lang.Integer |
|
|
|
| Writeable | false |
| currentCredits | |
|
|
|
| Description | The host's current credits amount |
|
|
|
| Type | java.lang.String |
|
|
|
| Writeable | false |
| uploading | |
|
|
|
| Description | Tells if the host is currently uploading a file |
|
|
|
| Type | java.lang.Boolean |
|
|
|
| Writeable | false |
| averageUploadSpeed | |
|
|
|
| Description | The average upload speed in KB/s |
|
|
|
| Type | double |
|
|
|
| Writeable | false |
| downloading | |
|
|
|
| Description | Tells if the host is currently downloading a file |
|
|
|
| Type | java.lang.Boolean |
|
|
|
| Writeable | false |
| averageDownloadSpeed | |
|
|
|
| Description | The average download speed in KB/s |
|
|
|
| Type | double |
|
|
|
| Writeable | false |
| processedFile | |
|
|
|
| Description | The current processed file if uploading or downloading |
|
|
|
| Type | java.lang.String |
|
|
|
| Writeable | false |
| totalReadenBytes | |
|
|
|
| Description | The total amount of bytes readen so far during the session |
|
|
|
| Type | java.lang.String |
|
|
|
| Writeable | false |
| totalWrittenBytes | |
|
|
|
| Description | The total amount of bytes written so far during the session |
|
|
|
| Type | java.lang.String |
|
|
|
| Writeable | false |
| transfertType | |
|
|
|
| Description | The transfert type |
|
|
|
| Type | java.lang.String |
|
|
|
| Writeable | false |
| transfertMode | |
|
|
|
| Description | The transfert mode |
|
|
|
| Type | java.lang.String |
|
|
|
| Writeable | false |
| controlSecurityProtocol | |
|
|
|
| Description | The security protocol currently used for the control socket |
|
|
|
| Type | java.lang.String |
|
|
|
| Writeable | false |
| dataSecurityProtocol | |
|
|
|
| Description | The security protocol currently used for the data transfert |
|
|
|
| Type | java.lang.String |
|
|
|
| Writeable | false |
| addCredits | ||||
|
|
||||
| Description | Gives the client credits | |||
|
|
||||
| Return type | ||||
|
|
||||
| Impact | ACTION | |||
|
|
||||
| Parameters |
|
|||
| removeCredits | ||||
|
|
||||
| Description | Removes credits for the client | |||
|
|
||||
| Return type | ||||
|
|
||||
| Impact | ACTION | |||
|
|
||||
| Parameters |
|
|||
| endSession | |
|
|
|
| Description | Close the session |
|
|
|
| Return type | |
|
|
|
| Impact | ACTION |
| endSessionMsg | ||||
|
|
||||
| Description | Sends a message to the client and closes the session | |||
|
|
||||
| Return type | ||||
|
|
||||
| Impact | ACTION | |||
|
|
||||
| Parameters |
|
|||
| ban | ||||
|
|
||||
| Description | Ban the client and disconnect it | |||
|
|
||||
| Return type | ||||
|
|
||||
| Impact | ACTION | |||
|
|
||||
| Parameters |
|
|||
| sendMessage | ||||
|
|
||||
| Description | Sends a message to the client | |||
|
|
||||
| Return type | ||||
|
|
||||
| Impact | ACTION | |||
|
|
||||
| Parameters |
|
|||
| whois | |
|
|
|
| Description | WHOIS query with the current client host name or its IP address |
|
|
|
| Return type | |
|
|
|
| Impact | ACTION |








