public class Layer2Display extends java.lang.Object implements java.awt.event.ActionListener, Layer2Listener
| Constructor and Description |
|---|
Layer2Display(Layer2Endpoint handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Called when the user hits enter in the GUI field, indicating that
a Layer2 Frame should be created and sent.
|
void |
frameReceived(Layer2Handler handler,
Layer2Frame frame)
Called when a frame is received in the handler from the layer below it.
|
public Layer2Display(Layer2Endpoint handler)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void frameReceived(Layer2Handler handler, Layer2Frame frame)
frameReceived in interface Layer2Listener