|
||||||||||
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()
|
void |
registerEventClass(java.lang.Class event)
Registers a new event type with the underlying EventBuilderImpl. The eventClass must extend ManagerEvent. |
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)
event
- class of the event to register.EventBuilder
,
ManagerEvent
void die()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |