public void setVariable(String variable, String value) throws ManagerCommunicationException, NoSuchChannelException
{
ManagerResponse response;
response = server.sendAction(new SetVarAction(name, variable, value));
if (response instanceof ManagerError)
{
throw new NoSuchChannelException("Channel '" + name + "' is not available: " + response.getMessage());
}
synchronized (variables)