T
- typepublic class RemoteEventDecoder<T> extends Object implements Decoder<RemoteEvent<T>>
Constructor and Description |
---|
RemoteEventDecoder(Decoder<T> decoder)
Constructs a remote event decoder.
|
public RemoteEventDecoder(Decoder<T> decoder)
decoder
- the decoder of the eventpublic RemoteEvent<T> decode(byte[] data)
decode
in interface Decoder<RemoteEvent<T>>
data
- the byte array dataRemoteRuntimeException
Copyright © 2017 The Apache Software Foundation. All rights reserved.