public interface EndpointServer extends CloseableObject, ConnectionMonitor
tcp.opc implementation| Modifier and Type | Interface and Description |
|---|---|
static interface |
EndpointServer.EndpointHandle
Handle to a bound endpoint.
|
static interface |
EndpointServer.ReverseEndpointHandle
Handle to a reverse endpoint.
|
ConnectionMonitor.ConnectListener| Modifier and Type | Field and Description |
|---|---|
static Endpoint |
discoveryEndpoint
Constant
discoveryEndpoint |
| Modifier and Type | Method and Description |
|---|---|
EndpointServer.EndpointHandle |
bind(SocketAddress socketAddress,
EndpointBinding endpointBinding)
Bind an endpoint to a handle.
|
EndpointServer.ReverseEndpointHandle |
bindReverse(SocketAddress addressToConnect,
ReverseConnectionParameters parameters,
ScheduledExecutorService retryScheduledExecutorService)
Binds a ReverseHello connection point.
|
List<SocketAddress> |
getBoundSocketAddresses()
getBoundSocketAddresses.
|
EncoderContext |
getEncoderContext()
getEncoderContext.
|
EndpointBindingCollection |
getEndpointBindings()
Get a collection that contains related endpoints bindings.
|
closeaddStateListener, addStateNotifiable, getError, getState, removeStateListener, removeStateNotifiable, waitForState, waitForState, waitForStateUninterruptiblyaddConnectionListener, getConnections, removeConnectionListenerstatic final Endpoint discoveryEndpoint
discoveryEndpointEndpointServer.EndpointHandle bind(SocketAddress socketAddress, EndpointBinding endpointBinding) throws ServiceResultException
socketAddress - a SocketAddress object.endpointBinding - a EndpointBinding object.EndpointServer.EndpointHandle object.ServiceResultException - if any.EndpointServer.ReverseEndpointHandle bindReverse(SocketAddress addressToConnect, ReverseConnectionParameters parameters, ScheduledExecutorService retryScheduledExecutorService) throws ServiceResultException
ServiceResultExceptionList<SocketAddress> getBoundSocketAddresses()
getBoundSocketAddresses.
List object.EncoderContext getEncoderContext()
getEncoderContext.
EncoderContext object.EndpointBindingCollection getEndpointBindings()
Copyright © 2026. All rights reserved.