solar.service.dispatch
Class SolarDispatchService.NetListener

java.lang.Object
  |
  +--solar.service.dispatch.SolarDispatchService.NetListener
All Implemented Interfaces:
TransportListener
Enclosing class:
SolarDispatchService

class SolarDispatchService.NetListener
extends java.lang.Object
implements TransportListener


Field Summary
(package private)  java.lang.String _transport
           
 
Constructor Summary
(package private) SolarDispatchService.NetListener(java.lang.String transport)
           
 
Method Summary
 void connectionClosed(Address peer)
          Called when an connection closed.
 void connectionOpened(Address peer)
          Called when an connection opened.
 void dataReceived(Adu adu, Header header)
          Called when new data is received.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_transport

java.lang.String _transport
Constructor Detail

SolarDispatchService.NetListener

SolarDispatchService.NetListener(java.lang.String transport)
Method Detail

dataReceived

public void dataReceived(Adu adu,
                         Header header)
Description copied from interface: TransportListener
Called when new data is received.

Specified by:
dataReceived in interface TransportListener

connectionOpened

public void connectionOpened(Address peer)
Description copied from interface: TransportListener
Called when an connection opened.

Specified by:
connectionOpened in interface TransportListener

connectionClosed

public void connectionClosed(Address peer)
Description copied from interface: TransportListener
Called when an connection closed.

Specified by:
connectionClosed in interface TransportListener