/** * Description of the Method * * @param is Description of the Parameter * @param clientVersionNo Description of the Parameter * @exception java.io.IOException Description of the Exception */ public void fromStream(java.io.DataInput is, int clientVersionNo) throws java.io.IOException { super.fromStream(is, clientVersionNo); m_appContext = readUTF(is); int size = is.readInt(); for (int i = 0; i < size; i++) { DmiSourceContext context = new DmiSourceContext(); context.fromStream(is, clientVersionNo); m_vecOfContextsCarriedFwd.add(context); } if (clientVersionNo <= 3000) return; int count = is.readInt(); for (int i = 0; i < count; i++) { String key = readUTF(is); String value = readUTF(is); m_hashCarryFwdProps.put(key, value); } }
/** * Description of the Method * * @param is Description of the Parameter * @param versionNo * @exception java.io.IOException Description of the Exception */ public void fromStream(java.io.DataInput is, int versionNo) throws java.io.IOException { super.fromStream(is, versionNo); int size = is.readInt(); for (int i = 0; i < size; i++) { ServiceStatus status = new ServiceStatus(); status.fromStream(is, versionNo); m_vecSrvStates.add(status); } }
/** * This is called to read this object <code>InPort</code> from the specified object of input * stream. * * @param is DataInput object * @param versionNo Description of the Parameter * @exception IOException if an error occurs while reading bytes or while converting them into * specified Java primitive type. * @since Tifosi2.0 */ public void fromStream(DataInput is, int versionNo) throws IOException { super.fromStream(is, versionNo); m_strPortName = readUTF(is); m_strDscription = readUTF(is); m_strXSD = readUTF(is); m_strJavaClass = readUTF(is); m_bIsSyncRequestType = is.readBoolean(); int size = is.readInt(); for (int i = 0; i < size; ++i) { Param param = new Param(); param.fromStream(is, versionNo); m_params.addElement(param); } }