예제 #1
0
 public byte[] getState() {
   byte[] retval = null;
   if (state == null) return null;
   synchronized (state) {
     try {
       retval = Util.objectToByteBuffer(state);
     } catch (Exception e) {
       e.printStackTrace();
     }
   }
   return retval;
 }