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