Examples of deserialize()


Examples of com.bj58.spat.gaea.protocol.serializer.SerializeBase.deserialize()

        System.arraycopy(data, startIndex, sdpData, 0, data.length - startIndex);
        sdpData = CompressBase.getInstance(ct).unzip(sdpData);
        p.setUserData(sdpData);
       
        SerializeBase serialize = SerializeBase.getInstance(st);
        p.setSdpEntity(serialize.deserialize(sdpData, SDPType.getSDPClass(p.getSDPType())));
        return p;
    }
   
    /**
     * desKey 解密重载方法
View Full Code Here

Examples of com.bubble.serializer.DeserializationContext.deserialize()

    DeserializationContext dc = new DeserializationContext();
    long start = System.currentTimeMillis();
    for (int i = 0; i < loops; i++) {
      channel.read(buffer);
      buffer.flip();
      dc.deserialize(buffer);
      buffer.compact();
    }
    long total = System.currentTimeMillis()- start;
    channel.close();
    return total;
View Full Code Here

Examples of com.bubble.serializer.LightDeserializationContext.deserialize()

    LightDeserializationContext dc = new LightDeserializationContext();
    long start = System.currentTimeMillis();
    for (int i = 0; i < loops; i++) {
      channel.read(buffer);
      buffer.flip();
      dc.deserialize(buffer);
      buffer.compact();
    }
    long total = System.currentTimeMillis()- start;
    channel.close();
    return total;
View Full Code Here

Examples of com.carrotsearch.ant.tasks.junit4.events.Deserializer.deserialize()

    s.flush();
    s.close();

    Deserializer deserializer = new Deserializer(new ByteArrayInputStream(baos.toByteArray()),
        Thread.currentThread().getContextClassLoader());
    IEvent deserialize = deserializer.deserialize();
   
    Assert.assertTrue(deserialize instanceof AppendStdErrEvent);
    AppendStdErrEvent e = ((AppendStdErrEvent) deserialize);
    baos.reset();
    e.copyTo(baos);
View Full Code Here

Examples of com.caucho.hessian.io.JavaDeserializer.FieldDeserializer.deserialize()

        Object key = in.readObject();

        FieldDeserializer deser = (FieldDeserializer) _fieldMap.get(key);

        if (deser != null)
          deser.deserialize(in, obj);
        else
          in.readObject();
      }

      in.readMapEnd();
View Full Code Here

Examples of com.caucho.hessian.io.UnsafeDeserializer.FieldDeserializer.deserialize()

        Object key = in.readObject();
       
        FieldDeserializer deser = _fieldMap.get(key);

        if (deser != null)
          deser.deserialize(in, obj);
        else
          in.readObject();
      }
     
      in.readMapEnd();
View Full Code Here

Examples of com.cedarsoft.serialization.jackson.ListSerializer.deserialize()

  @Nonnull
  public List<? extends String> listDatabases( ) throws IOException {
    InputStream in = root.path( ALL_DBS ).get( InputStream.class );

    ListSerializer listSerializer = new ListSerializer( );
    List<? extends Object> dbs = listSerializer.deserialize( in );

    return ( List<? extends String> ) dbs;
  }

  @Nonnull
View Full Code Here

Examples of com.datasalt.pangool.io.Schema.Field.FieldDeserializer.deserialize()

        } else {
          throw new PangoolRuntimeException("Can't convert to OBJECT from instance " + objRecord.getClass());
        }
        if (customDeser != null){
          customDeser.open(inputBuffer);
          tuple.set(pos,customDeser.deserialize(tuple.get(pos))); //TODO FIXME avro deserializer shouldn't reuse objects sometimes (UNION ?)
          customDeser.close(); //TODO is this ok ?
         
        } else {
            //no custom deser , then use Hadoop serializers registered in "io.serializations"
          Class clazz = pangoolField.getObjectClass();
View Full Code Here

Examples of com.digitalpersona.onetouch.DPFPTemplate.deserialize()

            // Compare the feature set with our template

            boolean isOk = false;
            for (FingerPrint f : allMyFingerprints) {
                DPFPTemplate t = DPFPGlobal.getTemplateFactory().createTemplate();
                t.deserialize(f.getBytesArray());
                DPFPVerificationResult result = verificator.verify(features, t );
                if (result.isVerified()){
                    try {
                        Employ e = ConnectionDrivers.getEmploy(f.getEmployId());
                        if ( e == null ){
View Full Code Here

Examples of com.dragome.services.interfaces.SerializationService.deserialize()

      {
        ServiceLocator.getInstance().getDomHandler().setDocument(new BrowserHtmlDocument()); //TODO revisar!!

        SerializationService serializationService= ServiceLocator.getInstance().getSerializationService();

        Object result= ((ServiceInvocation) serializationService.deserialize(parameter)).invoke();
        executeService[0]= serializationService.serialize(result);
        ServerToClientServiceInvoker.finalizeMethodInvocationsInClient();
      }
    });
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.