tuwien.auto.eicl.event

Interface EICLEventListener

All Superinterfaces:
EventListener

public interface EICLEventListener
extends EventListener

With an implementation of this interface you can register a client to the CEMI_Connection object. This event listener is invoked on every incoming cEMI_L_DATA packet and on disconnect.
See Also:
FrameEvent, DisconnectEvent, CEMI_Connection

Method Summary

void
newFrameReceived(FrameEvent e)
A new frame has been received.
void
serverDisconnected(DisconnectEvent e)
The connection has been closed.

Method Details

newFrameReceived

public void newFrameReceived(FrameEvent e)
A new frame has been received. The frame can be accessed through the EICLEvent object.
Parameters:
e - the event object

serverDisconnected

public void serverDisconnected(DisconnectEvent e)
The connection has been closed.
Parameters:
e - The reason for connection ending.