use of com.cosylab.acs.maci.MessageType in project ACS by ACS-Community.
the class ClientProxyImpl method message.
/**
* @see si.ijs.maci.ClientOperations#message(short, String)
*/
public void message(short type, String message) {
try {
MessageType msgType;
if (type == Client.MSG_ERROR)
msgType = MessageType.MSG_ERROR;
else
msgType = MessageType.MSG_INFORMATION;
client.message(msgType, message);
} catch (RemoteException re) {
// noop.
}
}
use of com.cosylab.acs.maci.MessageType in project ACS by ACS-Community.
the class ClientProxyImpl method taggedmessage.
/**
* @see si.ijs.maci.ClientOperations#taggedmessage(short, String)
*/
public void taggedmessage(short type, short id, String message) {
try {
MessageType msgType;
if (type == Client.MSG_ERROR)
msgType = MessageType.MSG_ERROR;
else
msgType = MessageType.MSG_INFORMATION;
client.taggedmessage(msgType, id, message);
} catch (RemoteException re) {
// noop.
}
}
Aggregations