Apache.NMS.ActiveMQ.OpenWire.V6.ConnectionControlMarshaller.LooseUnmarshal C# (CSharp) Method

LooseUnmarshal() public method

public LooseUnmarshal ( OpenWireFormat wireFormat, Object o, BinaryReader dataIn ) : void
wireFormat OpenWireFormat
o Object
dataIn BinaryReader
return void
        public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
        {
            base.LooseUnmarshal(wireFormat, o, dataIn);

            ConnectionControl info = (ConnectionControl)o;
            info.Close = dataIn.ReadBoolean();
            info.Exit = dataIn.ReadBoolean();
            info.FaultTolerant = dataIn.ReadBoolean();
            info.Resume = dataIn.ReadBoolean();
            info.Suspend = dataIn.ReadBoolean();
            info.ConnectedBrokers = LooseUnmarshalString(dataIn);
            info.ReconnectTo = LooseUnmarshalString(dataIn);
            info.RebalanceConnection = dataIn.ReadBoolean();
        }