Class BlockingTCPConnector
- java.lang.Object
-
- org.epics.pvaccess.client.impl.remote.tcp.BlockingTCPConnector
-
- All Implemented Interfaces:
Connector
public class BlockingTCPConnector extends Object implements Connector
Channel Access TCP connector.- Version:
- $Id$
- Author:
- Matej Sekoranja
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBlockingTCPConnector.TransportFactory
-
Constructor Summary
Constructors Constructor Description BlockingTCPConnector(Context context, BlockingTCPConnector.TransportFactory transportFactory, int receiveBufferSize, float heartbeatInterval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Transportconnect(TransportClient client, ResponseHandler responseHandler, InetSocketAddress address, byte transportRevision, short priority)Connect.
-
-
-
Constructor Detail
-
BlockingTCPConnector
public BlockingTCPConnector(Context context, BlockingTCPConnector.TransportFactory transportFactory, int receiveBufferSize, float heartbeatInterval)
-
-
Method Detail
-
connect
public Transport connect(TransportClient client, ResponseHandler responseHandler, InetSocketAddress address, byte transportRevision, short priority) throws ConnectionException
Description copied from interface:ConnectorConnect.- Specified by:
connectin interfaceConnector- Parameters:
client- client requesting connection (transport).responseHandler- reponse handler.address- address of the server.transportRevision- transport revision to be used.priority- process priority.- Returns:
- transport instance.
- Throws:
ConnectionException- thrown if connect fails.- See Also:
Connector.connect(org.epics.pvaccess.impl.remote.TransportClient, org.epics.pvaccess.impl.remote.request.ResponseHandler, java.net.InetSocketAddress, byte, short)
-
-