Package org.jboss.invocation

Examples of org.jboss.invocation.MarshalledValueInputStream.readShort()


                                    : NodeFactory.NODE_TYPE_TREENODE;
      this.internalFqns = cache.getInternalFqns();
     
      ByteArrayInputStream bais = new ByteArrayInputStream(state);
      MarshalledValueInputStream in = new MarshalledValueInputStream(bais);
      in.readShort(); // the version, which we discard
      transientSize  = in.readInt();
      associatedSize = in.readInt();
      persistentSize = in.readInt();
      in.close();
      if (log.isTraceEnabled()) {
View Full Code Here


                                    ? NodeFactory.NODE_TYPE_OPTIMISTIC_NODE
                                    : NodeFactory.NODE_TYPE_TREENODE;
     
      ByteArrayInputStream bais = new ByteArrayInputStream(state);
      MarshalledValueInputStream in = new MarshalledValueInputStream(bais);
      in.readShort(); // the version, which we discard
      transientSize  = in.readInt();
      associatedSize = in.readInt();
      persistentSize = in.readInt();
      in.close();
      if (log.isTraceEnabled()) {
View Full Code Here

      }

      try {
         if (in != null) {
            try {
               version = in.readShort();
            }
            catch (IOException io) {
               // No short at the head of the stream means version 123
               version = RV_123;
            }
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.