public interface ManagerWriter
This class is intended to be used only by the DefaultManagerConnection.
ActionBuilder,
DefaultManagerConnection| Modifier and Type | Method and Description |
|---|---|
void |
sendAction(ManagerAction action,
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.
|
void setTargetVersion(AsteriskVersion targetVersion)
targetVersion - the version of the target Asterisk server.void setSocket(SocketConnectionFacade socket)
socket - the socket to use for writing to Asterisk.void sendAction(ManagerAction action, String internalActionId) throws IOException
action - the action to send to the asterisk server.internalActionId - the internal action id to add.IOException - if there is a problem sending the action.Copyright © 2004–2021. All rights reserved.