Package org.epics.pvaccess.impl.remote
Interface TransportSender
-
- All Superinterfaces:
Lockable
- All Known Implementing Classes:
BaseRequestImpl
,BeaconEmitter
,BlockingClientTCPTransport
,BlockingServerTCPTransport
,ChannelArrayRequestImpl
,ChannelGetFieldRequestImpl
,ChannelGetRequestImpl
,ChannelImpl
,ChannelMonitorImpl
,ChannelProcessRequestImpl
,ChannelPutGetRequestImpl
,ChannelPutRequestImpl
,ChannelRPCRequestImpl
,NonBlockingClientTCPTransport
,NonBlockingServerTCPTransport
,SecurityPluginMessageTransportSender
public interface TransportSender extends Lockable
Interface defining transport sender (instance sending data over transport).- Version:
- $Id$
- Author:
- Matej Sekoranja
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
send(ByteBuffer buffer, TransportSendControl control)
Called by transport.
-
-
-
Method Detail
-
send
void send(ByteBuffer buffer, TransportSendControl control)
Called by transport. By this call transport gives callee ownership over the buffer. Calls onTransportSendControl
instance must be made from calling thread. Moreover, ownership is valid only for the time of call of this method. NOTE: these limitations allow efficient implementation.- Parameters:
buffer
- buffer to send.control
- transport send control instance.
-
-