public void toData(PdxWriter writer) { writer.writeObject("f1", this.v); }
public void toData(PdxWriter out) { out.writeInt("ID", this.ID); out.writeString("pkid", this.pkid); out.writeObject("position1", this.position1); out.writeObject("position2", this.position2); out.writeObject("positions", this.positions); out.writeObject("collectionHolderMap", this.collectionHolderMap); out.writeString("type", this.type); out.writeString("status", this.status); out.writeStringArray("names", this.names); out.writeString("description", this.description); out.writeLong("createTime", this.createTime); // Write Position3. out.writeObjectArray("position3", this.position3); // Identity Field. out.markIdentityField("ID"); }
public void toData(PdxWriter out) { out.writeInt("ID", this.ID); out.writeString("pkid", this.pkid); out.writeObject("position1", this.position1); out.writeObject("position2", this.position2); out.writeObject("positions", this.positions); out.writeObject("collectionHolderMap", this.collectionHolderMap); out.writeString("type", this.type); out.writeString("status", this.status); out.writeStringArray("names", this.names); out.writeString("description", this.description); out.writeLong("createTime", this.createTime); // Write Position3. out.writeObjectArray("position3", this.position3); // Identity Field. out.markIdentityField("ID"); }
public void toData(PdxWriter out) { //System.out.println("Is serializing in WAN: " + GatewayEventImpl.isSerializingValue()); out.writeInt("id", this.id); out.writeString("ticker", this._ticker); out.writeInt("price", this._price); out.writeObject("idTickers", this.idTickers); out.writeObject("positions", this.positions); out.writeObject("test", this.test); }
out.writeObject("field" + x++, change==x ? serializable1: serializable2 ); out.writeObject("field" + x++, change==x ? testPdx1: testPdx2 ); out.writeObject("field" + x++, change==x ? map1: map2); out.writeObject("field" + x++, change==x ? collection1: collection2);
public void toData(PdxWriter out) { out.writeInt("myInt", this.myInt); out.writeByte("myByte", this.myByte); out.writeObject("myEnum", this.myEnum); }
out.writeDate("aDate", pdx.aDate); out.writeString("aString", pdx.aString); out.writeObject("anObject", pdx.anObject); out.writeObject("aMap", pdx.aMap); out.writeObject("aCollection", pdx.aCollection); out.writeBooleanArray("aBooleanArray", pdx.aBooleanArray); out.writeCharArray("aCharArray", pdx.aCharArray);
public void toData(PdxWriter out) { out.writeBoolean("field1", false); out.writeInt("field2", 53); out.writeObject("field3", new TestPdx() { public void toData(PdxWriter writer) { writer.writeString("afield", "hello"); } }); } });
public void toData(PdxWriter out) { out.writeString("myString1", this.myString1); out.writeLong("myLong", this.myLong); out.writeObject("myDS", this.myDS); out.writeString("myString2", this.myString2); out.writeFloat("myFloat", this.myFloat); }
public void toData(PdxWriter out) { out.writeString("myString1", this.myString1); out.writeLong("myLong", this.myLong); // out.writeObject("myHashMap", this.myHashMap); out.writeObject("myHashMap", this.myHashMap); out.writeString("myString2", this.myString2); out.writeFloat("myFloat", this.myFloat); }