public CollectionDataImpl(final DataInputExtended input) throws IOException { this.collectionType = input.readUTF(); this.elementType = input.readUTF(); this.oid = input.readEncodable(Oid.class); this.version = input.readEncodable(Version.class); this.hasAllElements = input.readBoolean(); this.elements = input.readEncodables(ReferenceData.class); initialized(); }
public byte readByte() throws IOException { return underlying.readByte(); }
public int readInt() throws IOException { return underlying.readInt(); }
public ExecuteServerActionResponse(final DataInputExtended input) throws IOException { this.result = input.readEncodable(Data.class); this.messages = input.readUTFs(); this.warnings = input.readUTFs(); this.updatesData = input.readEncodables(ObjectData.class); this.disposedData = input.readEncodables(ReferenceData.class); this.persistedTarget = input.readEncodable(ObjectData.class); this.persistedParameters = input.readEncodables(ObjectData.class); initialized(); }
public ClearAssociationRequest(final DataInputExtended input) throws IOException { super(input); this.fieldIdentifier = input.readUTF(); this.target = input.readEncodable(IdentityData.class); this.associate = input.readEncodable(IdentityData.class); initialized(); }
public ExecuteServerActionRequest(final DataInputExtended input) throws IOException { super(input); this.actionType = NakedObjectActionType.valueOf(input.readUTF()); this.actionIdentifier = input.readUTF(); this.target = input.readEncodable(IdentityData.class); this.parameters = input.readEncodables(Data.class); initialized(); }
public RequestAbstract(final DataInputExtended input) throws IOException { id = input.readInt(); session = input.readEncodable(AuthenticationSession.class); initialized(); }
public ObjectData(final DataInputExtended input) throws IOException { super(input); final int size = input.readInt(); for (int i = 0; i < size; i++) { final String key = input.readUTF(); final As as = As.readFrom(input); if (as == As.OBJECT) { final Data object = input.readEncodable(Data.class); fields.put(key, object); } else if (as == As.NULL) { fields.put(key, NO_ENTRY); } else { final String value = input.readUTF(); fields.put(key, value); } } initialized(); }
public <T> T[] readEncodables(Class<T> encodableType) throws IOException { return underlying.readEncodables(encodableType); }
public PersistenceQueryFindUsingApplibQuerySerializable( DataInputExtended input) throws IOException { super(input); this.query = input.readSerializable(Query.class); this.cardinality = QueryCardinality.valueOf(input.readUTF()); initialized(); }
public MultiUserExplorationSession(DataInputExtended input) throws IOException { super(input); sessions.addAll(Arrays.asList(input.readEncodables(SimpleSession.class))); selectedSession = input.readEncodable(SimpleSession.class); initialized(); }
public ExecuteClientActionRequest(final DataInputExtended input) throws IOException { super(input); this.data = input.readEncodables(ReferenceData.class); this.types = input.readInts(); initialized(); }
@Override public <T> T readObject(DataInputExtended input, Class<T> cls) throws IOException { // not quite symmetrical with write; the byte has already been read from stream // to determine which As instance to delegate to return input.readEncodable(cls); } },
@Override public <T> T readObject(DataInputExtended input, Class<T> cls) throws IOException { // not quite symmetrical with write; the byte has already been read from stream // to determine which As instance to delegate to return input.readSerializable(cls); } };
public boolean readBoolean() throws IOException { return underlying.readBoolean(); }
public SerialOid(final DataInputExtended input) throws IOException { this.serialNo = input.readLong(); this.state = input.readBoolean()?State.TRANSIENT:State.PERSISTENT; final boolean hasPrevious = input.readBoolean(); if (hasPrevious) { final long previousSerialNo = input.readLong(); final State previousState = input.readBoolean()?State.TRANSIENT:State.PERSISTENT; this.previous = new SerialOid(previousSerialNo, previousState); } initialized(); }
public long readLong() throws IOException { return underlying.readLong(); }
public String[] readUTFs() throws IOException { return underlying.readUTFs(); }