|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.WriteResult<K,L>
public class WriteResult<K,L>
Result of write operation, retuned by Writable.
| Constructor Summary | |
|---|---|
WriteResult(Connection connection)
|
|
WriteResult(Connection connection,
K message,
L dstAddress,
int writeSize)
|
|
| Method Summary | |
|---|---|
Connection |
getConnection()
Get the Connection data were read from. |
L |
getDstAddress()
Get the destination address, the message was written to. |
K |
getMessage()
Get the message, which was read. |
int |
getWrittenSize()
Get the number of bytes, which were written. |
void |
setDstAddress(L dstAddress)
Set the destination address, the message was written to. |
void |
setMessage(K message)
Set the message, which was read. |
void |
setWrittenSize(int writeSize)
Set the number of bytes, which were written. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WriteResult(Connection connection)
public WriteResult(Connection connection,
K message,
L dstAddress,
int writeSize)
| Method Detail |
|---|
public Connection getConnection()
Connection data were read from.
getConnection in interface ResultConnection data were read from.public K getMessage()
public void setMessage(K message)
message - the message, which was read.public L getDstAddress()
public void setDstAddress(L dstAddress)
dstAddress - the destination address, the message was written to.public int getWrittenSize()
public void setWrittenSize(int writeSize)
writeSize - the number of bytes, which were written.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||