public interface

OnOpen

implements TrapDelegate
com.ericsson.research.trap.delegates.OnOpen
Known Indirect Subclasses

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.