Package com.reignite.codec.amf

Examples of com.reignite.codec.amf.SerializeWorker


  @Override
  public MessageSerializer locateSerializer(OutputStream out, AMFMessage outMessage) {
    MessageSerializer serializer = null;
    try {
      Class<SerializeWorker> workerClass = serializeWorkers.get(outMessage.getVersion());
      SerializeWorker worker = workerClass.newInstance();
      worker.setOutputStream(out);
      worker.setAliasRegistry(aliasRegistry);
      worker.setProxyRegistry(proxyRegistry);
      serializer = new AMFMessageSerializer(worker);
    } catch (Exception e) {
      LogWriter.error(getClass(), "Failed to create serializer: " + e, e);
    }
View Full Code Here

TOP

Related Classes of com.reignite.codec.amf.SerializeWorker

Copyright © 2018 www.massapicom. 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.