org.apache.avro.generic
Class GenericRequestor
java.lang.Object
   org.apache.avro.ipc.Requestor
org.apache.avro.ipc.Requestor
       org.apache.avro.generic.GenericRequestor
org.apache.avro.generic.GenericRequestor
- public class GenericRequestor 
- extends Requestor
Requestor implementation for generic Java data.
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
GenericRequestor
public GenericRequestor(Protocol protocol,
                        Transceiver transceiver)
                 throws IOException
- Throws:
- IOException
request
public Object request(String messageName,
                      Object request)
               throws IOException
- Description copied from class: Requestor
- Writes a request message and reads a response or error message.
 
- 
- Overrides:
- requestin class- Requestor
 
- 
- Throws:
- IOException
 
writeRequest
public void writeRequest(Schema schema,
                         Object request,
                         Encoder out)
                  throws IOException
- Description copied from class: Requestor
- Writes a request message.
 
- 
- Specified by:
- writeRequestin class- Requestor
 
- 
- Throws:
- IOException
 
readResponse
public Object readResponse(Schema schema,
                           Decoder in)
                    throws IOException
- Description copied from class: Requestor
- Reads a response message.
 
- 
- Specified by:
- readResponsein class- Requestor
 
- 
- Throws:
- IOException
 
readError
public Exception readError(Schema schema,
                           Decoder in)
                    throws IOException
- Description copied from class: Requestor
- Reads an error message.
 
- 
- Specified by:
- readErrorin class- Requestor
 
- 
- Throws:
- IOException
 
Copyright © 2010 The Apache Software Foundation