|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.metastatic.rsync.v2.Protocol
Field Summary | |
---|---|
protected LinkedList |
argv
|
protected String |
challenge
|
protected InetAddress |
client
|
protected Configuration |
config
|
protected boolean |
connected
|
protected DuplexByteBuffer |
duplex
|
protected CharsetEncoder |
encoder
|
protected String |
error
|
protected List |
fileList
|
protected Map |
gids
|
protected ByteBuffer |
inBuffer
|
protected int |
inState
|
protected Module |
module
|
protected Map |
modules
The module list. |
protected String |
motd
The message-of-the-day. |
protected Options |
options
|
protected ByteBuffer |
outBuffer
|
protected int |
outState
|
protected int |
remoteVersion
|
protected String |
request
|
protected String |
sid
The unique session ID. |
static String |
SPACES
|
protected boolean |
start_glob
|
protected int |
state
|
protected Statistics |
stats
|
protected boolean |
stats_module
|
protected org.metastatic.rsync.v2.NonblockingTool |
tool
|
protected Map |
uids
|
Constructor Summary | |
---|---|
Protocol(String motd,
Map modules,
InetAddress client)
|
Method Summary | |
---|---|
boolean |
connectionFinished()
Return whether or not this protocol's connection is finished. |
ByteBuffer |
getInputBuffer()
Get the byte buffer for input coming over the socket. |
ByteBuffer |
getOutputBuffer()
Get the byte buffer for output going over the socket. |
Statistics |
getStatistics()
|
protected void |
setupInput()
Continue setting up this session (version exchange, module, authentication). |
protected void |
setupOutput()
The connection setup output. |
void |
updateInput()
Signals that there is more input to be consumed. |
void |
updateOutput()
Signals that there is space for output, and that more output bytes need to be placed in the output buffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String SPACES
protected int state
protected int inState
protected int outState
protected String sid
protected String motd
protected Map modules
protected InetAddress client
protected ByteBuffer inBuffer
protected ByteBuffer outBuffer
protected DuplexByteBuffer duplex
protected CharsetEncoder encoder
protected int remoteVersion
protected boolean connected
protected Module module
protected String error
protected String challenge
protected LinkedList argv
protected Options options
protected Configuration config
protected Statistics stats
protected List fileList
protected Map uids
protected Map gids
protected boolean stats_module
protected boolean start_glob
protected String request
protected org.metastatic.rsync.v2.NonblockingTool tool
Constructor Detail |
public Protocol(String motd, Map modules, InetAddress client)
Method Detail |
public ByteBuffer getInputBuffer()
public ByteBuffer getOutputBuffer()
public Statistics getStatistics()
public boolean connectionFinished()
public void updateInput()
public void updateOutput()
protected void setupInput()
protected void setupOutput()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |