|
||||||||||
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 Operation
s to byte[] and vice versa so an
Operation
can be transferred via TCP/IP communication.
Constructor Summary | |
---|---|
OperationCodec()
|
Method Summary | |
---|---|
Operation |
decode(Registries registries,
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(Registries registries, byte[] data)
Operation
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |