|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.lastbamboo.common.tcp.frame.TcpFrame
public final class TcpFrame
Class for a single TCP frame.
| Constructor Summary | |
|---|---|
TcpFrame(byte[] data)
Creates a new TcpFrame. |
|
TcpFrame(byte[] data,
int off,
int len)
|
|
TcpFrame(org.littleshoot.mina.common.ByteBuffer data)
Creates a new TCP frame for the specified framed data. |
|
| Method Summary | |
|---|---|
byte[] |
getData()
Accessor for the framed data buffer. |
int |
getLength()
Accessor for the length of the framed data. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TcpFrame(org.littleshoot.mina.common.ByteBuffer data)
data - The data to frame.public TcpFrame(byte[] data)
TcpFrame.
data - The data.
public TcpFrame(byte[] data,
int off,
int len)
| Method Detail |
|---|
public int getLength()
public byte[] getData()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||