Package com.cosylab.epics.caj.impl
Class BroadcastConnector
- java.lang.Object
-
- com.cosylab.epics.caj.impl.BroadcastConnector
-
- All Implemented Interfaces:
Connector
public class BroadcastConnector extends Object implements Connector
Channel Access broadcast/repeater UDP connector. It actially does not bind to any address, but it registers to the local repeater. This isn't real connector actually, since it does not connect (bind).- Version:
- $id$
- Author:
- Matej Sekoranja
-
-
Constructor Summary
Constructors Constructor Description BroadcastConnector(CAContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Transportconnect(TransportClient client, ResponseHandler responseHandler, InetSocketAddress connectAddress, short transportRevision, short priority)NOTE: transport client is ignored for broadcast (UDP).
-
-
-
Constructor Detail
-
BroadcastConnector
public BroadcastConnector(CAContext context)
- Parameters:
context-
-
-
Method Detail
-
connect
public Transport connect(TransportClient client, ResponseHandler responseHandler, InetSocketAddress connectAddress, short transportRevision, short priority) throws ConnectionException
NOTE: transport client is ignored for broadcast (UDP).- Specified by:
connectin interfaceConnector- Parameters:
client- client requesting connection (transport).responseHandler- reponse handler.connectAddress- address of the server.transportRevision- transport revision to be used.priority- process priority.- Returns:
- transport instance.
- Throws:
ConnectionException- See Also:
Connector.connect(com.cosylab.epics.caj.impl.TransportClient, com.cosylab.epics.caj.impl.ResponseHandler, java.net.InetSocketAddress, short, short)
-
-