|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
Serialio.modem.ModemEvent
Modem event.
| Field Summary | |
static int |
CONNECT
|
static int |
DONE
|
static int |
EXCEPTION
|
static int |
OK
|
static int |
RING
|
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
ModemEvent(Modem srcModem,
int request,
int type,
java.lang.String msg)
Create a new modem event |
|
| Method Summary | |
java.lang.String |
getEventMessage()
Get the event message. |
int |
getEventRequest()
Get the event request code. |
int |
getEventType()
Get the event type code. |
java.lang.String |
toString()
Create a string with the parameters of the event. |
| Methods inherited from class java.util.EventObject |
getSource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int EXCEPTION
public static final int CONNECT
public static final int RING
public static final int OK
public static final int DONE
| Constructor Detail |
public ModemEvent(Modem srcModem,
int request,
int type,
java.lang.String msg)
srcModem - the modem object creating the eventrequest - the event is a result of this modem requesttype - the type code for the eventmsg - the message for the event| Method Detail |
public int getEventRequest()
public int getEventType()
public java.lang.String getEventMessage()
public java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||