示例#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;
 }
 public void onSimpleText(SimpleText_t text) throws RpcException {
   onSimpleText(text, tce.RpcCommunicator.instance().getProperty_DefaultCallWaitTime(), null);
 }
 public void onError(String errcode, String errmsg) throws RpcException {
   onError(
       errcode, errmsg, tce.RpcCommunicator.instance().getProperty_DefaultCallWaitTime(), null);
 }
 public void onSystemNotification(Notification_t notification) throws RpcException {
   onSystemNotification(
       notification, tce.RpcCommunicator.instance().getProperty_DefaultCallWaitTime(), null);
 }
 public void onMessage(Message_t message) throws RpcException {
   onMessage(message, tce.RpcCommunicator.instance().getProperty_DefaultCallWaitTime(), null);
 }