public interface ModemListener
extends java.util.EventListener
ModemConnection.| Modifier and Type | Method and Description |
|---|---|
void |
signalChanged(ModemConnection modemConnection,
int signalLine,
boolean signalState)
This method is called on any change of the corresponding signal line
of the serial interface.
|
void signalChanged(ModemConnection modemConnection, int signalLine, boolean signalState)
modemConnection - identifies the connection where the event happenedsignalLine - identifies the signal line.signalState - new state of the signal line.ModemConnection,
ModemConnection.addListener(ModemListener, int)Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. Use of this specification is subject to license terms.