本文整理汇总了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;
}
示例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);
}
示例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();
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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();
}
示例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;
}
示例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);
}