|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMonitor
This interface must be implemented by a monitor object. A monitor can observe different media types, e.g., the CAPI line or a network line. It reports the information to a monitor listener object.
| Method Summary | |
|---|---|
String[] |
getDescription()
Get a textual description of the monitor implementation, e.g. |
String |
getID()
Gets a unique ID of the monitor object. |
boolean |
isAvailable()
Availability status of the monitor. |
boolean |
isStarted()
Status of the monitor. |
void |
reject(short cause)
Rejects a call. |
void |
release()
Releases the monitor. |
void |
setListener(IMonitorListener jml)
Sets the monitor listener object to report to. |
void |
start()
Starts the monitor for a certain line. |
void |
stop()
Stops the monitor for a certain line. |
| Method Detail |
|---|
void start()
void stop()
void setListener(IMonitorListener jml)
jml - the monitor listenervoid reject(short cause)
cause - the cause for rejection.void release()
boolean isStarted()
boolean isAvailable()
String[] getDescription()
String getID()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||