|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.directory.mitosis.operation.OperationCodec
public class OperationCodec
Encodes Operations to byte[] and vice versa so an
Operation can be transferred via TCP/IP communication.
| Constructor Summary | |
|---|---|
OperationCodec()
|
|
| Method Summary | |
|---|---|
Operation |
decode(byte[] data)
Transforms the specified byte array into an Operation. |
byte[] |
encode(Operation op)
Transforms the specified Operation into a byte array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OperationCodec()
| Method Detail |
|---|
public byte[] encode(Operation op)
Operation into a byte array.
public Operation decode(byte[] data)
Operation.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||