org.apache.avro.ipc
Class Transceiver
java.lang.Object
org.apache.avro.ipc.Transceiver
- Direct Known Subclasses:
- SocketTransceiver
public abstract class Transceiver
- extends Object
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
- Throws:
IOException
Copyright © 2009 The Apache Software Foundation