org.apache.avro.ipc
Class Transceiver
java.lang.Object
   org.apache.avro.ipc.Transceiver
org.apache.avro.ipc.Transceiver
- All Implemented Interfaces: 
- Closeable
- Direct Known Subclasses: 
- DatagramTransceiver, HttpTransceiver, LocalTransceiver, SocketTransceiver
- public abstract class Transceiver 
- extends Object- implements Closeable
Base class for transmitters and recievers of raw binary messages.
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Transceiver
public Transceiver()
getRemoteName
public abstract String getRemoteName()
- 
 
- 
 
transceive
public List<ByteBuffer> transceive(List<ByteBuffer> request)
                            throws IOException
- 
 
- 
- Throws:
- IOException
 
readBuffers
public abstract List<ByteBuffer> readBuffers()
                                      throws IOException
- 
 
- 
- Throws:
- IOException
 
writeBuffers
public abstract void writeBuffers(List<ByteBuffer> buffers)
                           throws IOException
- 
 
- 
- Throws:
- IOException
 
close
public void close()
           throws IOException
- 
- Specified by:
- closein interface- Closeable
 
- 
- Throws:
- IOException
 
Copyright © 2010 The Apache Software Foundation