Examples of readExternal()


Examples of org.jbpm.task.Notification.readExternal()

                    item = new EmailNotification();
                    break;
                }
            }
            
            item.readExternal( in );
            list.add( item );
        }
        return list;
    }    
   
View Full Code Here

Examples of org.jbpm.task.Reassignment.readExternal()

    public static List<Reassignment> readReassignmentList(ObjectInput in) throws IOException, ClassNotFoundException  {
        int size = in.readInt();
        List<Reassignment> list = new ArrayList<Reassignment>(size);
        for ( int i = 0; i < size; i++ ) {
            Reassignment item = new Reassignment();
            item.readExternal( in );
            list.add( item );
        }
        return list;
    }      
   
View Full Code Here

Examples of org.jbpm.task.User.readExternal()

        List<OrganizationalEntity> list = new ArrayList<OrganizationalEntity>(size);
        for ( int i = 0; i < size; i++ ) {
            short type = in.readShort();
            if ( type == 0 ) {
                User user = new User();
                user.readExternal( in );
                list.add( user );
            } else {
                Group group = new Group();
                group.readExternal( in );
                list.add( group );
View Full Code Here

Examples of org.jgroups.Message.readExternal()

                dis.close();
            }
            else {
                ObjectInputStream msg_in=use_magic? new MagicObjectInputStream(msg_in_data) : new ObjectInputStream(msg_in_data);

                m2.readExternal(msg_in);
                // Message m2=(Message)msg_in.readObject();
                msg_in.close();
            }

        }
View Full Code Here

Examples of org.jgroups.blocks.MethodCall.readExternal()

        msg_out.close();
        byte[] data=msg_data.toByteArray();
        ByteArrayInputStream msg_in_data=new ByteArrayInputStream(data);
        ObjectInputStream msg_in=new ObjectInputStream(msg_in_data);
        MethodCall m2=new MethodCall();
        m2.readExternal(msg_in);
        System.out.println(m2.getName());
        System.out.println(m2.getArgs().length);
    }

View Full Code Here

Examples of org.jgroups.stack.IpAddress.readExternal()

   }

   private IpAddress unmarshallIpAddress(ObjectInputStream in) throws Exception
   {
      IpAddress ipAddress = new IpAddress();
      ipAddress.readExternal(in);
      return ipAddress;
   }

   private List unmarshallArrayList(ObjectInputStream in, UnmarshalledReferences refMap) throws Exception
   {
View Full Code Here

Examples of org.openbel.framework.common.protonetwork.model.ProtoNetwork.readExternal()

        ObjectInputStream ois = null;
        try {
            ois = new ObjectInputStream(new FileInputStream(pn));

            ProtoNetwork network = new ProtoNetwork();
            network.readExternal(ois);
            return network;
        } catch (FileNotFoundException e) {
            final String msg = "Cannot find binary proto-network for path";
            throw new ProtoNetworkError(pn.getAbsolutePath(), msg, e);
        } catch (IOException e) {
View Full Code Here

Examples of org.ozoneDB.core.ObjectID.readExternal()

   
    public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException {
        byte c = in.readByte();
       
        ObjectID key = ((IDTable)grandParent).newObjectID();
        key.readExternal( in );
        ClusterID data = ((IDTable)grandParent).newClusterID();
        data.readExternal( in );
        element = grandParent.newKeyData();
        element.set( key, data );
       
View Full Code Here

Examples of org.sonatype.nexus.blobstore.file.MapdbBlobMetadataStore.MetadataRecord.readExternal()

  private MetadataRecord readFrom(final byte[] bytes) throws IOException, ClassNotFoundException {
    final ObjectInputStream objectsIn = new ObjectInputStream(new ByteArrayInputStream(bytes));

    final MetadataRecord roundTripMetadata = new MetadataRecord();
    roundTripMetadata.readExternal(objectsIn);

    return roundTripMetadata;
  }

View Full Code Here

Examples of org.teiid.common.buffer.TupleBatch.readExternal()

          this.batchManager.compactionLock.readLock().lock();
          long[] info = batchManager.physicalMapping.get(this.id);
          ObjectInputStream ois = new ObjectInputStream(new BufferedInputStream(batchManager.store.createInputStream(info[0]), IO_BUFFER_SIZE));
                batch = new TupleBatch();
                batch.setDataTypes(types);
                batch.readExternal(ois);
                batch.setRowOffset(this.beginRow);
              batch.setDataTypes(null);
          if (lobManager != null) {
            for (List<?> tuple : batch.getTuples()) {
              lobManager.updateReferences(batchManager.lobIndexes, tuple);
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.