public final class NamingUnregisterRequestCodec extends Object implements Codec<NamingUnregisterRequest>
| Constructor and Description |
|---|
NamingUnregisterRequestCodec(IdentifierFactory factory)
Constructs a naming un-registration request codec.
|
| Modifier and Type | Method and Description |
|---|---|
NamingUnregisterRequest |
decode(byte[] buf)
Decodes the bytes to a naming un-registration request.
|
byte[] |
encode(NamingUnregisterRequest obj)
Encodes the naming un-registration request to bytes.
|
@Inject public NamingUnregisterRequestCodec(IdentifierFactory factory)
factory - the identifier factorypublic byte[] encode(NamingUnregisterRequest obj)
encode in interface Encoder<NamingUnregisterRequest>obj - the naming un-registration requestpublic NamingUnregisterRequest decode(byte[] buf)
decode in interface Decoder<NamingUnregisterRequest>buf - the byte arrayNamingRuntimeExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.