|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.asterisk.manager.impl.ManagerWriterImpl
public class ManagerWriterImpl
Default implementation of ManagerWriter interface.
Constructor Summary | |
---|---|
ManagerWriterImpl()
Creates a new ManagerWriter. |
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 version)
Sets the version of the target Asterisk server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ManagerWriterImpl()
Method Detail |
---|
public void setTargetVersion(AsteriskVersion version)
ManagerWriter
setTargetVersion
in interface ManagerWriter
public void setSocket(SocketConnectionFacade socket)
ManagerWriter
setSocket
in interface ManagerWriter
socket
- the socket to use for writing to Asterisk.public void sendAction(ManagerAction action, java.lang.String internalActionId) throws java.io.IOException
ManagerWriter
sendAction
in interface ManagerWriter
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 |