|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ManagerReader
The ManagerReader reads events and responses from the asterisk server, parses them using EventBuilderImpl and ResponseBuilder and dispatches them to the associated ManagerConnection.
Do not use this interface in your code, it is intended to be used only by the DefaultManagerConnection.
EventBuilder,
ResponseBuilder,
DefaultManagerConnection| Method Summary | |
|---|---|
void |
die()
|
java.io.IOException |
getTerminationException()
Returns the Exception that caused this reader to terminate if any. |
boolean |
isDead()
|
void |
registerEventClass(java.lang.Class event)
Registers a new event type with the underlying EventBuilderImpl. |
void |
setSocket(SocketConnectionFacade socket)
Sets the socket to use for reading from the asterisk server. |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Method Detail |
|---|
void setSocket(SocketConnectionFacade socket)
socket - the socket to use for reading from the asterisk server.void registerEventClass(java.lang.Class event)
The eventClass must extend ManagerEvent.
event - class of the event to register.EventBuilder,
ManagerEventvoid die()
boolean isDead()
java.io.IOException getTerminationException()
null if not.
|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||