当前位置: 首页>>代码示例>>C#>>正文


C# BooleanStream类代码示例

本文整理汇总了C#中BooleanStream的典型用法代码示例。如果您正苦于以下问题:C# BooleanStream类的具体用法?C# BooleanStream怎么用?C# BooleanStream使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


BooleanStream类属于命名空间,在下文中一共展示了BooleanStream类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: TightMarshal1

        //
        // Write the booleans that this object uses to a BooleanStream
        //
        public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
        {

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

            return rc + 0;
        }
开发者ID:Redi0,项目名称:meijing-ui,代码行数:10,代码来源:ActiveMQTextMessageMarshaller.cs

示例2: TightUnmarshal

        // 
        // 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);

            DataResponse info = (DataResponse)o;
            info.Data = (DataStructure) TightUnmarshalNestedObject(wireFormat, dataIn, bs);
        }
开发者ID:Redi0,项目名称:meijing-ui,代码行数:10,代码来源:DataResponseMarshaller.cs

示例3: TightUnmarshal

        // 
        // 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);

            Response info = (Response)o;
            info.CorrelationId = dataIn.ReadInt32();
        }
开发者ID:Redi0,项目名称:meijing-ui,代码行数:10,代码来源:ResponseMarshaller.cs

示例4: TightMarshal2

        // 
        // 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);

            ExceptionResponse info = (ExceptionResponse)o;
            TightMarshalBrokerError2(wireFormat, info.Exception, dataOut, bs);
        }
开发者ID:Redi0,项目名称:meijing-ui,代码行数:10,代码来源:ExceptionResponseMarshaller.cs

示例5: TightUnmarshal

        // 
        // 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);

            ExceptionResponse info = (ExceptionResponse)o;
            info.Exception = TightUnmarshalBrokerError(wireFormat, dataIn, bs);
        }
开发者ID:Redi0,项目名称:meijing-ui,代码行数:10,代码来源:ExceptionResponseMarshaller.cs

示例6: TightMarshal2

        // 
        // 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);

            SessionInfo info = (SessionInfo)o;
            TightMarshalCachedObject2(wireFormat, (DataStructure)info.SessionId, dataOut, bs);
        }
开发者ID:Redi0,项目名称:meijing-ui,代码行数:10,代码来源:SessionInfoMarshaller.cs

示例7: TightUnmarshal

        // 
        // 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);

            SessionInfo info = (SessionInfo)o;
            info.SessionId = (SessionId) TightUnmarshalCachedObject(wireFormat, dataIn, bs);
        }
开发者ID:Redi0,项目名称:meijing-ui,代码行数:10,代码来源:SessionInfoMarshaller.cs

示例8: TightMarshal2

        // 
        // 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);

            IntegerResponse info = (IntegerResponse)o;
            dataOut.Write(info.Result);
        }
开发者ID:Redi0,项目名称:meijing-ui,代码行数:10,代码来源:IntegerResponseMarshaller.cs

示例9: TightUnmarshal

        // 
        // 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);

            ActiveMQDestination info = (ActiveMQDestination)o;
            info.PhysicalName = TightUnmarshalString(dataIn, bs);
        }
开发者ID:Redi0,项目名称:meijing-ui,代码行数:10,代码来源:ActiveMQDestinationMarshaller.cs

示例10: TightUnmarshal

        // 
        // 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);

            RemoveInfo info = (RemoveInfo)o;
            info.ObjectId = (DataStructure) TightUnmarshalCachedObject(wireFormat, dataIn, bs);
        }
开发者ID:Redi0,项目名称:meijing-ui,代码行数:10,代码来源:RemoveInfoMarshaller.cs

示例11: TightMarshal2

        // 
        // 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);

            ControlCommand info = (ControlCommand)o;
            TightMarshalString2(info.Command, dataOut, bs);
        }
开发者ID:Redi0,项目名称:meijing-ui,代码行数:10,代码来源:ControlCommandMarshaller.cs

示例12: TightUnmarshal

        // 
        // 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);

            ControlCommand info = (ControlCommand)o;
            info.Command = TightUnmarshalString(dataIn, bs);
        }
开发者ID:Redi0,项目名称:meijing-ui,代码行数:10,代码来源:ControlCommandMarshaller.cs

示例13: TightUnmarshal

        // 
        // 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);

            ConnectionInfo info = (ConnectionInfo)o;
            info.ConnectionId = (ConnectionId) TightUnmarshalCachedObject(wireFormat, dataIn, bs);
            info.ClientId = TightUnmarshalString(dataIn, bs);
            info.Password = TightUnmarshalString(dataIn, bs);
            info.UserName = TightUnmarshalString(dataIn, bs);

            if (bs.ReadBoolean()) {
                short size = dataIn.ReadInt16();
                BrokerId[] value = new BrokerId[size];
                for( int i=0; i < size; i++ ) {
                    value[i] = (BrokerId) TightUnmarshalNestedObject(wireFormat,dataIn, bs);
                }
                info.BrokerPath = value;
            }
            else {
                info.BrokerPath = null;
            }
            info.BrokerMasterConnector = bs.ReadBoolean();
            info.Manageable = bs.ReadBoolean();
            info.ClientMaster = bs.ReadBoolean();
        }
开发者ID:Redi0,项目名称:meijing-ui,代码行数:28,代码来源:ConnectionInfoMarshaller.cs

示例14: TightMarshal1

    //
    // Write the booleans that this object uses to a BooleanStream
    //
    public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
        DataStructureSupport info = (DataStructureSupport)o;

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

        return rc + 0;
    }
开发者ID:Redi0,项目名称:meijing-ui,代码行数:10,代码来源:DataStructureSupportMarshaller.cs

示例15: TightMarshal2

        // 
        // 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);

            DataResponse info = (DataResponse)o;
            TightMarshalNestedObject2(wireFormat, (DataStructure)info.Data, dataOut, bs);
        }
开发者ID:Redi0,项目名称:meijing-ui,代码行数:10,代码来源:DataResponseMarshaller.cs


注:本文中的BooleanStream类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。