public class HttpTransceiver extends Transceiver
Transceiver
implementation.Constructor and Description |
---|
HttpTransceiver(URL url) |
HttpTransceiver(URL url,
Proxy proxy) |
Modifier and Type | Method and Description |
---|---|
String |
getRemoteName() |
List<ByteBuffer> |
readBuffers()
Called by the default definition of
Transceiver.transceive(List) . |
void |
setTimeout(int timeout)
Set the connect and read timeouts, in milliseconds.
|
void |
writeBuffers(List<ByteBuffer> buffers)
Called by
Requestor.request(String,Object) for one-way messages. |
close, getRemote, isConnected, lockChannel, setRemote, transceive, transceive, unlockChannel
public HttpTransceiver(URL url)
public void setTimeout(int timeout)
public String getRemoteName()
getRemoteName
in class Transceiver
public List<ByteBuffer> readBuffers() throws IOException
Transceiver
Transceiver.transceive(List)
.readBuffers
in class Transceiver
IOException
public void writeBuffers(List<ByteBuffer> buffers) throws IOException
Transceiver
Requestor.request(String,Object)
for one-way messages.writeBuffers
in class Transceiver
IOException
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.