Requestor.TransceiverCallback<T>rpcMetaPlugins| Constructor and Description |
|---|
GenericRequestor(Protocol protocol,
Transceiver transceiver) |
GenericRequestor(Protocol protocol,
Transceiver transceiver,
GenericData data) |
| Modifier and Type | Method and Description |
|---|---|
GenericData |
getGenericData() |
Exception |
readError(Schema writer,
Schema reader,
Decoder in)
Reads an error message.
|
Object |
readResponse(Schema writer,
Schema reader,
Decoder in)
Reads a response message.
|
void |
writeRequest(Schema schema,
Object request,
Encoder out)
Writes a request message.
|
addRPCPlugin, getLocal, getRemote, getTransceiver, readError, readResponse, request, requestpublic GenericRequestor(Protocol protocol, Transceiver transceiver) throws IOException
IOExceptionpublic GenericRequestor(Protocol protocol, Transceiver transceiver, GenericData data) throws IOException
IOExceptionpublic GenericData getGenericData()
public void writeRequest(Schema schema, Object request, Encoder out) throws IOException
RequestorwriteRequest in class RequestorIOExceptionpublic Object readResponse(Schema writer, Schema reader, Decoder in) throws IOException
RequestorreadResponse in class RequestorIOExceptionpublic Exception readError(Schema writer, Schema reader, Decoder in) throws IOException
RequestorreadError in class RequestorIOExceptionCopyright © 2009–2023 The Apache Software Foundation. All rights reserved.