|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.metastatic.rsync.v2.DuplexByteBuffer
| Field Summary | |
|---|---|
protected ByteBuffer |
buffer
|
protected boolean |
duplex
|
protected ByteBuffer |
outputBuffer
|
| Fields inherited from interface org.metastatic.rsync.v2.MultiplexedIO |
|---|
FERROR, FINFO, FLOG, FNONE, MPLEX_BASE |
| Constructor Summary | |
|---|---|
DuplexByteBuffer(ByteBuffer buffer)
|
|
| Method Summary | |
|---|---|
void |
flush()
|
void |
put(byte b)
|
void |
put(byte[] buf)
|
void |
put(byte[] buf,
int off,
int len)
|
void |
putInt(int i)
|
protected void |
putLogcode(int logcode,
int len)
|
void |
putLong(long l)
|
void |
putShortString(String string)
|
void |
putString(int logcode,
String message)
|
void |
putString(String string)
|
void |
setDuplex(boolean duplex)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected final ByteBuffer buffer
protected final ByteBuffer outputBuffer
protected boolean duplex
| Constructor Detail |
public DuplexByteBuffer(ByteBuffer buffer)
| Method Detail |
public void setDuplex(boolean duplex)
public void put(byte[] buf,
int off,
int len)
public void put(byte[] buf)
public void put(byte b)
public void putInt(int i)
public void putLong(long l)
public void putString(String string)
public void putShortString(String string)
public void putString(int logcode,
String message)
public String toString()
toString in class Objectpublic void flush()
protected void putLogcode(int logcode,
int len)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||