|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface defining methods to be called when state-change events for a
gateway occur. To receive gateway events an application attaches
a listener by calling the addGatewayListener
method of an
Gateway
. A listener is removed by a call to the
removeGatewayListener
method.
The event dispatch policy is defined in the documentation for the
ControlEvent
class.
This interface is extended by the ReceiverListener
and
TransmitterListener
interfaces to handle the specialized
events of transmitters and receivers.
A trivial implementation of GatewayListener
is provided by
the GatewayAdapter
class. TransmitterAdapter
and
ReceiverAdapter
classes are also available.
ControlEvent
,
GatewayAdapter
,
TransmitterListener
,
TransmitterAdapter
Method Summary | |
void |
gatewayAllocated(GatewayEvent e)
The Gateway has been allocated. |
void |
gatewayAllocatingResources(GatewayEvent e)
The Gateway is being allocated. |
void |
gatewayDeallocated(GatewayEvent e)
The Gateway has been deallocated. |
void |
gatewayDeallocatingResources(GatewayEvent e)
The Gateway is being deallocated. |
void |
gatewayError(GatewayErrorEvent e)
An GatewayErrorEvent has occurred and the
Gateway is unable to continue normal operation. |
void |
gatewayPaused(GatewayEvent e)
The Gateway has been paused. |
void |
gatewayResumed(GatewayEvent e)
The Gateway has been resumed. |
Method Detail |
public void gatewayPaused(GatewayEvent e)
Gateway
has been paused.GATEWAY_PAUSED
public void gatewayResumed(GatewayEvent e)
Gateway
has been resumed.GATEWAY_RESUMED
public void gatewayAllocated(GatewayEvent e)
Gateway
has been allocated.GATEWAY_ALLOCATED
public void gatewayDeallocated(GatewayEvent e)
Gateway
has been deallocated.GATEWAY_DEALLOCATED
public void gatewayAllocatingResources(GatewayEvent e)
Gateway
is being allocated.GATEWAY_ALLOCATING_RESOURCES
public void gatewayDeallocatingResources(GatewayEvent e)
Gateway
is being deallocated.GATEWAY_DEALLOCATING_RESOURCES
public void gatewayError(GatewayErrorEvent e)
GatewayErrorEvent
has occurred and the
Gateway
is unable to continue normal operation.GatewayErrorEvent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |