public class FSPversion extends Object implements Cloneable
There are no get/set methods defined. Use public variables directly for data access.
Modifier and Type | Field and Description |
---|---|
boolean |
extended_info
server sent extended info.
|
boolean |
extra_data
server accepts xtra data on in input packets
|
boolean |
logging
server logs transfers
|
short |
payload
if number is greater then 1024 it means maximum payload supported
by server, otherwise it is server preferred packet size.
|
boolean |
private_mode
server runs in private mode, only authorized clients can connect
|
boolean |
read_only
server runs in read-only mode
|
boolean |
reverse
reverse lookup required for connected clients
|
long |
throughput
server does throughput limiting in bytes/sec. zero means no limit.
|
String |
version
server version
|
Constructor and Description |
---|
FSPversion()
Constructor for empty FSPversion object.
|
FSPversion(FSPpacket pkt)
Creates FSPversion instance from FSPpacket
|
public String version
public boolean extended_info
public boolean logging
public boolean read_only
public boolean reverse
public boolean private_mode
public long throughput
public boolean extra_data
public short payload
public FSPversion()
public FSPversion(FSPpacket pkt)
pkt
- FSPpacket with CC_VERSION responseIllegalArgumentException
- if pkt is not response to
CC_VERSION commandpublic Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Object.clone()
Copyright © 2020 FSP Project. All rights reserved.