• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# BooleanStream类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: 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);

            ActiveMQDestination info = (ActiveMQDestination)o;
            TightMarshalString2(info.PhysicalName, dataOut, bs);
        }
开发者ID:ThorTech,项目名称:apache-nms,代码行数:10,代码来源:ActiveMQDestinationMarshaller.cs


示例17: 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);

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


示例18: 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);

            BrokerInfo info = (BrokerInfo)o;
            info.BrokerId = (BrokerId) TightUnmarshalCachedObject(wireFormat, dataIn, bs);
            info.BrokerURL = TightUnmarshalString(dataIn, bs);

            if (bs.ReadBoolean()) {
                short size = dataIn.ReadInt16();
                BrokerInfo[] value = new BrokerInfo[size];
                for( int i=0; i < size; i++ ) {
                    value[i] = (BrokerInfo) TightUnmarshalNestedObject(wireFormat,dataIn, bs);
                }
                info.PeerBrokerInfos = value;
            }
            else {
                info.PeerBrokerInfos = null;
            }
            info.BrokerName = TightUnmarshalString(dataIn, bs);
            info.SlaveBroker = bs.ReadBoolean();
            info.MasterBroker = bs.ReadBoolean();
            info.FaultTolerantConfiguration = bs.ReadBoolean();
            info.DuplexConnection = bs.ReadBoolean();
            info.NetworkConnection = bs.ReadBoolean();
            info.ConnectionId = TightUnmarshalLong(wireFormat, dataIn, bs);
            info.BrokerUploadUrl = TightUnmarshalString(dataIn, bs);
            info.NetworkProperties = TightUnmarshalString(dataIn, bs);
        }
开发者ID:Redi0,项目名称:meijing-ui,代码行数:32,代码来源:BrokerInfoMarshaller.cs


示例19: 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);

            ConsumerInfo info = (ConsumerInfo)o;
            info.ConsumerId = (ConsumerId) TightUnmarshalCachedObject(wireFormat, dataIn, bs);
            info.Browser = bs.ReadBoolean();
            info.Destination = (ActiveMQDestination) TightUnmarshalCachedObject(wireFormat, dataIn, bs);
            info.PrefetchSize = dataIn.ReadInt32();
            info.MaximumPendingMessageLimit = dataIn.ReadInt32();
            info.DispatchAsync = bs.ReadBoolean();
            info.Selector = TightUnmarshalString(dataIn, bs);
            info.SubscriptionName = TightUnmarshalString(dataIn, bs);
            info.NoLocal = bs.ReadBoolean();
            info.Exclusive = bs.ReadBoolean();
            info.Retroactive = bs.ReadBoolean();
            info.Priority = dataIn.ReadByte();

            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.AdditionalPredicate = (BooleanExpression) TightUnmarshalNestedObject(wireFormat, dataIn, bs);
            info.NetworkSubscription = bs.ReadBoolean();
            info.OptimizedAcknowledge = bs.ReadBoolean();
            info.NoRangeAcks = bs.ReadBoolean();
        }
开发者ID:Redi0,项目名称:meijing-ui,代码行数:37,代码来源:ConsumerInfoMarshaller.cs


示例20: 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);

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



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# BootFX类代码示例发布时间:2022-05-24
下一篇:
C# BooleanExpression类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap