public interface Transformer
Modifier and Type | Method and Description |
---|---|
RTPSByteBuffer |
decode(Key key,
SecurePayload payload)
Decodes a given SecurePayload
|
SecurePayload |
encode(Key key,
RTPSByteBuffer bb)
Encodes RTPSByteBuffer into SecurePayload.
|
String |
getName()
Gets the name of this transformer.
|
int |
getTransformationKind()
Gets the transformation kind used by this transformer.
|
int getTransformationKind()
String getName()
SecurePayload encode(Key key, RTPSByteBuffer bb) throws SecurityException
key
- Keybb
- RTPSByteBuffer RTPSByteBuffer to encode. Position should be placed at
the end of buffer.SecurityException
- on SecurityExceptionRTPSByteBuffer decode(Key key, SecurePayload payload) throws SecurityException
key
- Keypayload
- Payload to decodeSecurityException
- on SecurityExceptionCopyright © 2016. All rights reserved.