//
        // Write a object instance to data output stream
        //
        public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
        {
            NetworkBridgeFilter info = (NetworkBridgeFilter)o;

            base.LooseMarshal(wireFormat, o, dataOut);
            LooseMarshalCachedObject(wireFormat, (DataStructure)info.NetworkBrokerId, dataOut);
        }
        //
        // Un-marshal an object instance from the data input stream
        //
        public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
        {
            base.LooseUnmarshal(wireFormat, o, dataIn);

            NetworkBridgeFilter info = (NetworkBridgeFilter)o;

            info.NetworkBrokerId = (BrokerId)LooseUnmarshalCachedObject(wireFormat, dataIn);
        }
        //
        // Write a object instance to data output stream
        //
        public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs)
        {
            base.TightMarshal2(wireFormat, o, dataOut, bs);

            NetworkBridgeFilter info = (NetworkBridgeFilter)o;

            TightMarshalCachedObject2(wireFormat, (DataStructure)info.NetworkBrokerId, dataOut, bs);
        }
        //
        // Un-marshal an object instance from the data input stream
        //
        public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
        {
            base.TightUnmarshal(wireFormat, o, dataIn, bs);

            NetworkBridgeFilter info = (NetworkBridgeFilter)o;

            info.NetworkBrokerId = (BrokerId)TightUnmarshalCachedObject(wireFormat, dataIn, bs);
        }
        //
        // Write the booleans that this object uses to a BooleanStream
        //
        public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
        {
            NetworkBridgeFilter info = (NetworkBridgeFilter)o;

            int rc = base.TightMarshal1(wireFormat, info, bs);

            rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.NetworkBrokerId, bs);

            return(rc + 4);
        }