예제 #1
0
 public boolean unmarshall(ByteBuffer d) {
   boolean r = false;
   try {
     byte v_1 = d.get();
     this.succ = v_1 == 0 ? false : true;
     this.code = d.getInt();
     int v_2 = d.getInt();
     byte[] _sb_3 = new byte[v_2];
     d.get(_sb_3);
     this.msg = new String(_sb_3);
   } catch (Exception e) {
     tce.RpcCommunicator.instance().getLogger().error(e.getMessage());
     r = false;
     return r;
   }
   return true;
 }
예제 #2
0
 public void onSimpleText(SimpleText_t text) throws RpcException {
   onSimpleText(text, tce.RpcCommunicator.instance().getProperty_DefaultCallWaitTime(), null);
 }
예제 #3
0
 public void onError(String errcode, String errmsg) throws RpcException {
   onError(
       errcode, errmsg, tce.RpcCommunicator.instance().getProperty_DefaultCallWaitTime(), null);
 }
예제 #4
0
 public void onSystemNotification(Notification_t notification) throws RpcException {
   onSystemNotification(
       notification, tce.RpcCommunicator.instance().getProperty_DefaultCallWaitTime(), null);
 }
예제 #5
0
 public void onMessage(Message_t message) throws RpcException {
   onMessage(message, tce.RpcCommunicator.instance().getProperty_DefaultCallWaitTime(), null);
 }