|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ManagerWriter
The ManagerWriter transforms actions using an ActionBuilder and sends them to
the asterisk server.
This class is intended to be used only by the DefaultManagerConnection.
ActionBuilder,
DefaultManagerConnection| Method Summary | |
|---|---|
void |
sendAction(ManagerAction action,
java.lang.String internalActionId)
Sends the given action to the asterisk server. |
void |
setSocket(SocketConnectionFacade socket)
Sets the socket to use for writing to Asterisk. |
void |
setTargetVersion(AsteriskVersion targetVersion)
Sets the version of the target Asterisk server. |
| Method Detail |
|---|
void setTargetVersion(AsteriskVersion targetVersion)
asteriskVersion - the version of the target Asterisk server.void setSocket(SocketConnectionFacade socket)
socket - the socket to use for writing to Asterisk.
void sendAction(ManagerAction action,
java.lang.String internalActionId)
throws java.io.IOException
action - the action to send to the asterisk server.internalActionId - the internal action id to add.
java.io.IOException - if there is a problem sending the action.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||