コード例 #1
0
ファイル: ISOMsg.java プロジェクト: edianzuxiehui/jpos
 public void unpack(InputStream in) throws IOException, ISOException {
   synchronized (this) {
     packager.unpack(this, in);
   }
 }
コード例 #2
0
ファイル: ISOMsg.java プロジェクト: edianzuxiehui/jpos
 /**
  * unpack a message
  *
  * @param b - raw message
  * @return consumed bytes
  * @exception ISOException
  */
 public int unpack(byte[] b) throws ISOException {
   synchronized (this) {
     return packager.unpack(this, b);
   }
 }