@Override public void toData(PdxWriter writer) { writer.writeInt("int1", int1); }
out.writeByte("field" + x++, (byte) (change==x ? 0x5: 0x6)); out.writeShort("field" + x++, (short) (change==x ? 7 : 8 )); out.writeInt("field" + x++, change==x ? 9 : 10 ); out.writeLong("field" + x++, change==x ? 55555555: 666666666); out.writeFloat("field" + x++, change==x ? 23.44f: 23.55f);
out.writeByte("aByte", pdx.aByte); out.writeShort("aShort", pdx.aShort); out.writeInt("anInt", pdx.anInt); out.writeLong("aLong", pdx.aLong); out.writeFloat("aFloat", pdx.aFloat);
public void toData(PdxWriter out) { out.writeInt("id", this._id); }
public void toData(PdxWriter out) { out.writeInt("myInt", this.myInt); out.writeByte("myByte", this.myByte); out.writeObject("myEnum", this.myEnum); }
public void toData(PdxWriter writer) { ((PdxWriterImpl)writer).setDoExtraValidation(true); writer.writeInt("fieldCount", this.fieldCount); for (int i=0; i < this.fieldCount; i++) { writer.writeField("f"+i, null, this.fieldType); } }
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); }
public void toData(PdxWriter out) { out.writeInt("field2", 53); out.writeBoolean("field1", true); out.markIdentityField("field2"); } }));
public void toData(PdxWriter out) { out.writeInt("field2", 53); out.writeBoolean("field1", false); out.markIdentityField("field2"); } }));
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.writeBoolean("myFlag", this.myFlag); out.writeShort("myShort", this.myShort); out.writeString("myString1", this.myString1); out.writeLong("myLong", this.myLong); out.writeString("myString2", this.myString2); out.writeString("myString3", this.myString3); out.writeInt("myInt", this.myInt); out.writeFloat("myFloat", this.myFloat); }
public void toData(PdxWriter out) { out.writeLong("avg20DaysVol",this.avg20DaysVol); out.writeString("bondRating", this.bondRating); out.writeDouble("convRatio",this.convRatio); out.writeString("country", this.country); out.writeDouble("delta", this.delta); out.writeLong("industry", this.industry); out.writeLong("issuer", this.issuer); out.writeDouble("mktValue", this.mktValue); out.writeDouble("qty", this.qty); out.writeString("secId", this.secId); out.writeString("secIdIndexed", this.secIdIndexed); out.writeString("secLinks", this.secLinks); out.writeDouble("sharesOutstanding", this.sharesOutstanding); out.writeString("underlyer", this.underlyer); out.writeLong("volatility", this.volatility); out.writeInt("pid", this.pid); out.writeInt("portfolioId", this.portfolioId); // Identity Field. out.markIdentityField("secId"); }
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"); }