public void fromData(PdxReader in) { this.ID = in.readInt("ID"); this.pkid = in.readString("pkid"); this.position1 = (PositionPdx)in.readObject("position1"); this.position2 = (PositionPdx)in.readObject("position2"); this.positions = (HashMap)in.readObject("positions"); this.collectionHolderMap = (HashMap)in.readObject("collectionHolderMap"); this.type = in.readString("type"); this.status = in.readString("status"); this.names = in.readStringArray("names"); this.description = in.readString("description"); this.createTime = in.readLong("createTime"); // Read Position3 this.position3 = in.readObjectArray("position3"); }
public void fromData(PdxReader in){ this.myFlag = in.readBoolean("myFlag"); this.myShort = in.readShort("myShort"); this.myString1 = in.readString("myString1"); this.myLong = in.readLong("myLong"); this.myString2 = in.readString("myString2"); this.myString3 = in.readString("myString3"); this.myInt = in.readInt("myInt"); this.myFloat = in.readFloat("myFloat"); }
public void fromData(PdxReader in) { //System.out.println("Is deserializing in WAN: " + GatewayEventImpl.isDeserializingValue()); this.id = in.readInt("id"); this._ticker = in.readString("ticker"); this._price = in.readInt("price"); this.idTickers = (Map)in.readObject("idTickers"); this.positions = (HashMap)in.readObject("positions"); this.test = (TestObject2)in.readObject("test"); }
public void fromData(PdxReader in){ this.myInt = in.readInt("myInt"); this.myByte = in.readByte("myByte"); this.myEnum = (SimpleEnum) in.readObject("myEnum"); }
in.readBoolean("aChar"); fail("expected PdxFieldTypeMismatchException"); } catch (PdxFieldTypeMismatchException expected) { in.readByte("aChar"); fail("expected PdxFieldTypeMismatchException"); } catch (PdxFieldTypeMismatchException expected) { in.readShort("aChar"); fail("expected PdxFieldTypeMismatchException"); } catch (PdxFieldTypeMismatchException expected) { in.readInt("aChar"); fail("expected PdxFieldTypeMismatchException"); } catch (PdxFieldTypeMismatchException expected) { in.readLong("aChar"); fail("expected PdxFieldTypeMismatchException"); } catch (PdxFieldTypeMismatchException expected) { in.readFloat("aChar"); fail("expected PdxFieldTypeMismatchException"); } catch (PdxFieldTypeMismatchException expected) { in.readDouble("aChar"); fail("expected PdxFieldTypeMismatchException"); } catch (PdxFieldTypeMismatchException expected) { in.readDate("aChar");
public void fromData(PdxReader in) { this.avg20DaysVol = in.readLong("avg20DaysVol"); this.bondRating = in.readString("bondRating"); this.convRatio = in.readDouble("convRatio"); this.country = in.readString("country"); this.delta = in.readDouble("delta"); this.industry = in.readLong("industry"); this.issuer = in.readLong("issuer"); this.mktValue = in.readDouble("mktValue"); this.qty = in.readDouble("qty"); this.secId = in.readString("secId"); this.secIdIndexed = in.readString("secIdIndexed"); this.secLinks = in.readString("secLinks"); this.sharesOutstanding = in.readDouble("sharesOutstanding"); this.underlyer = in.readString("underlyer"); this.volatility = in.readLong("volatility"); this.pid = in.readInt("pid"); this.portfolioId = in.readInt("portfolioId"); //GemFireCacheImpl.getInstance().getLoggerI18n().fine(new Exception("DEBUG fromData() " + this.secId)); }
public void fromData(PdxReader in){ this.myString1 = in.readString("myString1"); this.myLong = in.readLong("myLong"); // this.myHashMap = (Map<String, // PdxSerializable>)in.readObject("myHashMap"); this.myHashMap = (Map<String, PdxSerializable>)in.readObject("myHashMap"); this.myString2 = in.readString("myString2"); this.myFloat = in.readFloat("myFloat"); }
@Override public void fromData(PdxReader reader) { f1 = reader.readLong("f1"); f2 = reader.readString("f2"); } }
public void fromData(PdxReader reader) { this.v = reader.readLong("f1"); } }
public void fromData(PdxReader reader) { value = reader.readString("value"); } }
public void fromData(PdxReader reader) { this.v = reader.readObjectArray("f1"); } }
public void fromData(PdxReader reader) { this.v = reader.readObject("f1"); } }
public void fromData(PdxReader in){ this.myString1 = in.readString("myString1"); this.myLong = in.readLong("myLong"); this.myDS = (DataSerializable)in.readObject("myDS"); this.myString2 = in.readString("myString2"); this.myFloat = in.readFloat("myFloat"); }
@Override public Object fromData(Class<?> clazz, PdxReader in) { if (clazz == MyObjectPdx2.class) { MyObjectPdx2 obj = new MyObjectPdx2(); obj.f1 = in.readLong("f1"); obj.f2 = in.readString("f2"); return obj; } return auto.fromData(clazz, in); }
@Override public void fromData(PdxReader reader) { int1 = reader.readInt("int1"); } }
public void fromData(PdxReader in) { this.ID = in.readInt("ID"); this.pkid = in.readString("pkid"); this.position1 = (PositionPdx)in.readObject("position1"); this.position2 = (PositionPdx)in.readObject("position2"); this.positions = (HashMap)in.readObject("positions"); this.collectionHolderMap = (HashMap)in.readObject("collectionHolderMap"); this.type = in.readString("type"); this.status = in.readString("status"); this.names = in.readStringArray("names"); this.description = in.readString("description"); this.createTime = in.readLong("createTime"); // Read Position3 this.position3 = in.readObjectArray("position3"); }
public void fromData(PdxReader in) { this._id = in.readInt("id"); }