com.ericsson.research.trap.delegates.OnOpen |
Known Indirect Subclasses
AuthenticatedEchoClient |
Connects to the echo server and sends messages to be echoed back. |
ConfiguredClient |
Similar to the configured server, this sample shows how to tweak a client's configuration. |
EchoClient |
Connects to the echo server and sends messages to be echoed back. |
MultiplexedClient |
Showcases how to use Trap Channels to send multiple data flows at the same time. |
TLSInsecureEchoClient |
Connects to the echo server and sends messages to be echoed back. |
|
Class Overview
Specifies a delegate that should be called once the endpoint changes state to OPEN. This is generally only applicable
for clients. Listener delegates will not change state to OPEN, and Server Endpoints are provided in state OPEN at
creation.
Summary
Public Methods |
abstract
void
|
trapOpen(TrapEndpoint endpoint, Object context)
Called when the endpoint changes state from OPENING to OPEN, that is, when Trap successfully connects.
|
Public Methods
public
abstract
void
trapOpen
(TrapEndpoint endpoint, Object context)
Called when the endpoint changes state from OPENING to OPEN, that is, when Trap successfully connects.
Parameters
endpoint
| The endpoint that changed state to OPEN. |
context
| The delegate context, if specified by setDelegateContext(Object) , or null
otherwise.
|