Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.ka2ddo.yaac.io
Interface PortEventListener

All Known Implementing Classes:
  BlinkenLight

    public interface PortEventListener

This interface defines a listener that wants to know the details of when a port is receiving or sending frames of data.

Method Summary
`void` | `portFailed(PortConnector port)` Reports when the port fails for some reason.
`void` | `portReceiving(PortConnector port, boolean isReceiving)` Reports when the specified port starts or stops receiving a message.
`void` | `portTransmitting(PortConnector port, boolean isTransmitting)` Reports when the specified port starts or stops transmitting a message.

Method Detail

### portTransmitting

    void portTransmitting(PortConnector port,
                          boolean isTransmitting)

  Reports when the specified port starts or stops transmitting a message.

  Parameters:
    `port` - PortConnector of relevant port
    `isTransmitting` - boolean true if transmitting is starting, false if transmitting is ending

### portReceiving

    void portReceiving(PortConnector port,
                       boolean isReceiving)

  Reports when the specified port starts or stops receiving a message.

  Parameters:
    `port` - PortConnector of relevant port
    `isReceiving` - boolean true if receiving is starting, false if receiving is ending

### portFailed

    void portFailed(PortConnector port)

  Reports when the port fails for some reason.

  Parameters:
    `port` - PortConnector of relevant port

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD