/** * Write the booleans that this object uses to a BooleanStream */ public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException { BrokerInfo info = (BrokerInfo)o; super.looseMarshal(wireFormat, o, dataOut); looseMarshalCachedObject(wireFormat, (DataStructure)info.getBrokerId(), dataOut); looseMarshalString(info.getBrokerURL(), dataOut); looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut); looseMarshalString(info.getBrokerName(), dataOut); dataOut.writeBoolean(info.isSlaveBroker()); dataOut.writeBoolean(info.isMasterBroker()); dataOut.writeBoolean(info.isFaultTolerantConfiguration()); dataOut.writeBoolean(info.isDuplexConnection()); dataOut.writeBoolean(info.isNetworkConnection()); looseMarshalLong(wireFormat, info.getConnectionId(), dataOut); looseMarshalString(info.getBrokerUploadUrl(), dataOut); looseMarshalString(info.getNetworkProperties(), dataOut); } }
info.setBrokerId((org.apache.activemq.command.BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn)); info.setBrokerURL(looseUnmarshalString(dataIn)); org.apache.activemq.command.BrokerInfo value[] = new org.apache.activemq.command.BrokerInfo[size]; for( int i=0; i < size; i++ ) { value[i] = (org.apache.activemq.command.BrokerInfo) looseUnmarsalNestedObject(wireFormat,dataIn); info.setPeerBrokerInfos(null); info.setBrokerName(looseUnmarshalString(dataIn)); info.setSlaveBroker(dataIn.readBoolean()); info.setMasterBroker(dataIn.readBoolean()); info.setDuplexConnection(dataIn.readBoolean()); info.setNetworkConnection(dataIn.readBoolean()); info.setConnectionId(looseUnmarshalLong(wireFormat, dataIn)); info.setBrokerUploadUrl(looseUnmarshalString(dataIn)); info.setNetworkProperties(looseUnmarshalString(dataIn));
/** * Write the booleans that this object uses to a BooleanStream */ public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException { BrokerInfo info = (BrokerInfo)o; int rc = super.tightMarshal1(wireFormat, o, bs); rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getBrokerId(), bs); rc += tightMarshalString1(info.getBrokerURL(), bs); rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs); rc += tightMarshalString1(info.getBrokerName(), bs); bs.writeBoolean(info.isSlaveBroker()); bs.writeBoolean(info.isMasterBroker()); bs.writeBoolean(info.isFaultTolerantConfiguration()); bs.writeBoolean(info.isDuplexConnection()); bs.writeBoolean(info.isNetworkConnection()); rc+=tightMarshalLong1(wireFormat, info.getConnectionId(), bs); rc += tightMarshalString1(info.getBrokerUploadUrl(), bs); rc += tightMarshalString1(info.getNetworkProperties(), bs); return rc + 0; }
/** * Write a object instance to data output stream * * @param o the instance to be marshaled * @param dataOut the output stream * @throws IOException thrown if an error occurs */ public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException { super.tightMarshal2(wireFormat, o, dataOut, bs); BrokerInfo info = (BrokerInfo)o; tightMarshalCachedObject2(wireFormat, (DataStructure)info.getBrokerId(), dataOut, bs); tightMarshalString2(info.getBrokerURL(), dataOut, bs); tightMarshalObjectArray2(wireFormat, info.getPeerBrokerInfos(), dataOut, bs); tightMarshalString2(info.getBrokerName(), dataOut, bs); bs.readBoolean(); bs.readBoolean(); bs.readBoolean(); bs.readBoolean(); bs.readBoolean(); tightMarshalLong2(wireFormat, info.getConnectionId(), dataOut, bs); tightMarshalString2(info.getBrokerUploadUrl(), dataOut, bs); tightMarshalString2(info.getNetworkProperties(), dataOut, bs); }
/** * Write a object instance to data output stream * * @param o the instance to be marshaled * @param dataOut the output stream * @throws IOException thrown if an error occurs */ public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException { super.tightMarshal2(wireFormat, o, dataOut, bs); BrokerInfo info = (BrokerInfo)o; tightMarshalCachedObject2(wireFormat, (DataStructure)info.getBrokerId(), dataOut, bs); tightMarshalString2(info.getBrokerURL(), dataOut, bs); tightMarshalObjectArray2(wireFormat, info.getPeerBrokerInfos(), dataOut, bs); tightMarshalString2(info.getBrokerName(), dataOut, bs); bs.readBoolean(); bs.readBoolean(); bs.readBoolean(); bs.readBoolean(); bs.readBoolean(); tightMarshalLong2(wireFormat, info.getConnectionId(), dataOut, bs); tightMarshalString2(info.getBrokerUploadUrl(), dataOut, bs); tightMarshalString2(info.getNetworkProperties(), dataOut, bs); }
/** * Write the booleans that this object uses to a BooleanStream */ public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException { BrokerInfo info = (BrokerInfo)o; super.looseMarshal(wireFormat, o, dataOut); looseMarshalCachedObject(wireFormat, (DataStructure)info.getBrokerId(), dataOut); looseMarshalString(info.getBrokerURL(), dataOut); looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut); looseMarshalString(info.getBrokerName(), dataOut); dataOut.writeBoolean(info.isSlaveBroker()); dataOut.writeBoolean(info.isMasterBroker()); dataOut.writeBoolean(info.isFaultTolerantConfiguration()); dataOut.writeBoolean(info.isDuplexConnection()); dataOut.writeBoolean(info.isNetworkConnection()); looseMarshalLong(wireFormat, info.getConnectionId(), dataOut); looseMarshalString(info.getBrokerUploadUrl(), dataOut); looseMarshalString(info.getNetworkProperties(), dataOut); } }
/** * Write the booleans that this object uses to a BooleanStream */ public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException { BrokerInfo info = (BrokerInfo)o; int rc = super.tightMarshal1(wireFormat, o, bs); rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getBrokerId(), bs); rc += tightMarshalString1(info.getBrokerURL(), bs); rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs); rc += tightMarshalString1(info.getBrokerName(), bs); bs.writeBoolean(info.isSlaveBroker()); bs.writeBoolean(info.isMasterBroker()); bs.writeBoolean(info.isFaultTolerantConfiguration()); bs.writeBoolean(info.isDuplexConnection()); bs.writeBoolean(info.isNetworkConnection()); rc+=tightMarshalLong1(wireFormat, info.getConnectionId(), bs); rc += tightMarshalString1(info.getBrokerUploadUrl(), bs); rc += tightMarshalString1(info.getNetworkProperties(), bs); return rc + 0; }
/** * Write a object instance to data output stream * * @param o the instance to be marshaled * @param dataOut the output stream * @throws IOException thrown if an error occurs */ public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException { super.tightMarshal2(wireFormat, o, dataOut, bs); BrokerInfo info = (BrokerInfo)o; tightMarshalCachedObject2(wireFormat, (DataStructure)info.getBrokerId(), dataOut, bs); tightMarshalString2(info.getBrokerURL(), dataOut, bs); tightMarshalObjectArray2(wireFormat, info.getPeerBrokerInfos(), dataOut, bs); tightMarshalString2(info.getBrokerName(), dataOut, bs); bs.readBoolean(); bs.readBoolean(); bs.readBoolean(); bs.readBoolean(); bs.readBoolean(); tightMarshalLong2(wireFormat, info.getConnectionId(), dataOut, bs); tightMarshalString2(info.getBrokerUploadUrl(), dataOut, bs); tightMarshalString2(info.getNetworkProperties(), dataOut, bs); }
info.setBrokerId((org.apache.activemq.command.BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn)); info.setBrokerURL(looseUnmarshalString(dataIn)); org.apache.activemq.command.BrokerInfo value[] = new org.apache.activemq.command.BrokerInfo[size]; for( int i=0; i < size; i++ ) { value[i] = (org.apache.activemq.command.BrokerInfo) looseUnmarsalNestedObject(wireFormat,dataIn); info.setPeerBrokerInfos(null); info.setBrokerName(looseUnmarshalString(dataIn)); info.setSlaveBroker(dataIn.readBoolean()); info.setMasterBroker(dataIn.readBoolean()); info.setDuplexConnection(dataIn.readBoolean()); info.setNetworkConnection(dataIn.readBoolean()); info.setConnectionId(looseUnmarshalLong(wireFormat, dataIn)); info.setBrokerUploadUrl(looseUnmarshalString(dataIn)); info.setNetworkProperties(looseUnmarshalString(dataIn));
/** * Write the booleans that this object uses to a BooleanStream */ public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException { BrokerInfo info = (BrokerInfo)o; super.looseMarshal(wireFormat, o, dataOut); looseMarshalCachedObject(wireFormat, (DataStructure)info.getBrokerId(), dataOut); looseMarshalString(info.getBrokerURL(), dataOut); looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut); looseMarshalString(info.getBrokerName(), dataOut); dataOut.writeBoolean(info.isSlaveBroker()); dataOut.writeBoolean(info.isMasterBroker()); dataOut.writeBoolean(info.isFaultTolerantConfiguration()); dataOut.writeBoolean(info.isDuplexConnection()); dataOut.writeBoolean(info.isNetworkConnection()); looseMarshalLong(wireFormat, info.getConnectionId(), dataOut); looseMarshalString(info.getBrokerUploadUrl(), dataOut); looseMarshalString(info.getNetworkProperties(), dataOut); } }
/** * Write the booleans that this object uses to a BooleanStream */ public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException { BrokerInfo info = (BrokerInfo)o; int rc = super.tightMarshal1(wireFormat, o, bs); rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getBrokerId(), bs); rc += tightMarshalString1(info.getBrokerURL(), bs); rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs); rc += tightMarshalString1(info.getBrokerName(), bs); bs.writeBoolean(info.isSlaveBroker()); bs.writeBoolean(info.isMasterBroker()); bs.writeBoolean(info.isFaultTolerantConfiguration()); bs.writeBoolean(info.isDuplexConnection()); bs.writeBoolean(info.isNetworkConnection()); rc+=tightMarshalLong1(wireFormat, info.getConnectionId(), bs); rc += tightMarshalString1(info.getBrokerUploadUrl(), bs); rc += tightMarshalString1(info.getNetworkProperties(), bs); return rc + 0; }
/** * Write a object instance to data output stream * * @param o the instance to be marshaled * @param dataOut the output stream * @throws IOException thrown if an error occurs */ public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException { super.tightMarshal2(wireFormat, o, dataOut, bs); BrokerInfo info = (BrokerInfo)o; tightMarshalCachedObject2(wireFormat, (DataStructure)info.getBrokerId(), dataOut, bs); tightMarshalString2(info.getBrokerURL(), dataOut, bs); tightMarshalObjectArray2(wireFormat, info.getPeerBrokerInfos(), dataOut, bs); tightMarshalString2(info.getBrokerName(), dataOut, bs); bs.readBoolean(); bs.readBoolean(); bs.readBoolean(); bs.readBoolean(); bs.readBoolean(); tightMarshalLong2(wireFormat, info.getConnectionId(), dataOut, bs); tightMarshalString2(info.getBrokerUploadUrl(), dataOut, bs); tightMarshalString2(info.getNetworkProperties(), dataOut, bs); }
info.setBrokerId((org.apache.activemq.command.BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn)); info.setBrokerURL(looseUnmarshalString(dataIn)); org.apache.activemq.command.BrokerInfo value[] = new org.apache.activemq.command.BrokerInfo[size]; for( int i=0; i < size; i++ ) { value[i] = (org.apache.activemq.command.BrokerInfo) looseUnmarsalNestedObject(wireFormat,dataIn); info.setPeerBrokerInfos(null); info.setBrokerName(looseUnmarshalString(dataIn)); info.setSlaveBroker(dataIn.readBoolean()); info.setMasterBroker(dataIn.readBoolean()); info.setDuplexConnection(dataIn.readBoolean()); info.setNetworkConnection(dataIn.readBoolean()); info.setConnectionId(looseUnmarshalLong(wireFormat, dataIn)); info.setBrokerUploadUrl(looseUnmarshalString(dataIn)); info.setNetworkProperties(looseUnmarshalString(dataIn));
/** * Write the booleans that this object uses to a BooleanStream */ public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException { BrokerInfo info = (BrokerInfo)o; super.looseMarshal(wireFormat, o, dataOut); looseMarshalCachedObject(wireFormat, (DataStructure)info.getBrokerId(), dataOut); looseMarshalString(info.getBrokerURL(), dataOut); looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut); looseMarshalString(info.getBrokerName(), dataOut); dataOut.writeBoolean(info.isSlaveBroker()); dataOut.writeBoolean(info.isMasterBroker()); dataOut.writeBoolean(info.isFaultTolerantConfiguration()); dataOut.writeBoolean(info.isDuplexConnection()); dataOut.writeBoolean(info.isNetworkConnection()); looseMarshalLong(wireFormat, info.getConnectionId(), dataOut); looseMarshalString(info.getBrokerUploadUrl(), dataOut); looseMarshalString(info.getNetworkProperties(), dataOut); } }
/** * Write the booleans that this object uses to a BooleanStream */ public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException { BrokerInfo info = (BrokerInfo)o; int rc = super.tightMarshal1(wireFormat, o, bs); rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getBrokerId(), bs); rc += tightMarshalString1(info.getBrokerURL(), bs); rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs); rc += tightMarshalString1(info.getBrokerName(), bs); bs.writeBoolean(info.isSlaveBroker()); bs.writeBoolean(info.isMasterBroker()); bs.writeBoolean(info.isFaultTolerantConfiguration()); bs.writeBoolean(info.isDuplexConnection()); bs.writeBoolean(info.isNetworkConnection()); rc+=tightMarshalLong1(wireFormat, info.getConnectionId(), bs); rc += tightMarshalString1(info.getBrokerUploadUrl(), bs); rc += tightMarshalString1(info.getNetworkProperties(), bs); return rc + 0; }
info.setBrokerId((org.apache.activemq.command.BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn)); info.setBrokerURL(looseUnmarshalString(dataIn)); org.apache.activemq.command.BrokerInfo value[] = new org.apache.activemq.command.BrokerInfo[size]; for( int i=0; i < size; i++ ) { value[i] = (org.apache.activemq.command.BrokerInfo) looseUnmarsalNestedObject(wireFormat,dataIn); info.setPeerBrokerInfos(null); info.setBrokerName(looseUnmarshalString(dataIn)); info.setSlaveBroker(dataIn.readBoolean()); info.setMasterBroker(dataIn.readBoolean()); info.setDuplexConnection(dataIn.readBoolean()); info.setNetworkConnection(dataIn.readBoolean()); info.setConnectionId(looseUnmarshalLong(wireFormat, dataIn)); info.setBrokerUploadUrl(looseUnmarshalString(dataIn)); info.setNetworkProperties(looseUnmarshalString(dataIn));