public final class NamingLookupResponseCodec extends Object implements Codec<NamingLookupResponse>
| Constructor and Description | 
|---|
NamingLookupResponseCodec(IdentifierFactory factory)
Constructs a naming lookup response codec 
 | 
| Modifier and Type | Method and Description | 
|---|---|
NamingLookupResponse | 
decode(byte[] buf)
Decodes bytes to an iterable of name assignments 
 | 
byte[] | 
encode(NamingLookupResponse obj)
Encodes name assignments to bytes 
 | 
@Inject public NamingLookupResponseCodec(IdentifierFactory factory)
factory - the identifier factorypublic byte[] encode(NamingLookupResponse obj)
encode in interface Encoder<NamingLookupResponse>obj - the naming lookup responsepublic NamingLookupResponse decode(byte[] buf)
decode in interface Decoder<NamingLookupResponse>buf - the byte arrayNamingRuntimeExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.