com.jpeterson.x10
Class GatewayAdapter

java.lang.Object
  |
  +--com.jpeterson.x10.GatewayAdapter

public class GatewayAdapter
extends java.lang.Object
implements GatewayListener

Trivial implementation of the GatewayListener interface that receives a GatewayEvent. The methods in this class are empty, this class is provided as a convenience for easily creating listeners by extending this class and overriding only the methods of interest.

See Also:
TransmitterAdapter

Constructor Summary
GatewayAdapter()
          Constructor does nothing.
 
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)
          A 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GatewayAdapter

public GatewayAdapter()
Constructor does nothing.
Method Detail

gatewayPaused

public void gatewayPaused(GatewayEvent e)
The Gateway has been paused.
Specified by:
gatewayPaused in interface GatewayListener
See Also:
GATEWAY_PAUSED

gatewayResumed

public void gatewayResumed(GatewayEvent e)
The Gateway has been resumed.
Specified by:
gatewayResumed in interface GatewayListener
See Also:
GATEWAY_RESUMED

gatewayAllocated

public void gatewayAllocated(GatewayEvent e)
The Gateway has been allocated.
Specified by:
gatewayAllocated in interface GatewayListener
See Also:
GATEWAY_ALLOCATED

gatewayDeallocated

public void gatewayDeallocated(GatewayEvent e)
The Gateway has been deallocated.
Specified by:
gatewayDeallocated in interface GatewayListener
See Also:
GATEWAY_DEALLOCATED

gatewayAllocatingResources

public void gatewayAllocatingResources(GatewayEvent e)
The Gateway is being allocated.
Specified by:
gatewayAllocatingResources in interface GatewayListener
See Also:
GATEWAY_ALLOCATING_RESOURCES

gatewayDeallocatingResources

public void gatewayDeallocatingResources(GatewayEvent e)
The Gateway is being deallocated.
Specified by:
gatewayDeallocatingResources in interface GatewayListener
See Also:
GATEWAY_DEALLOCATING_RESOURCES

gatewayError

public void gatewayError(GatewayErrorEvent e)
A GatewayErrorEvent has occurred and the Gateway is unable to continue normal operation.
Specified by:
gatewayError in interface GatewayListener
Tags copied from interface: GatewayListener
See Also:
GatewayErrorEvent