本文整理汇总了C#中IceInternal.BasicStream.writeBool方法的典型用法代码示例。如果您正苦于以下问题:C# BasicStream.writeBool方法的具体用法?C# BasicStream.writeBool怎么用?C# BasicStream.writeBool使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IceInternal.BasicStream
的用法示例。
在下文中一共展示了BasicStream.writeBool方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: streamWrite
//
// Marshal the endpoint
//
public override void streamWrite(BasicStream s)
{
s.writeShort(Ice.TCPEndpointType.value);
s.startWriteEncaps();
s.writeString(_host);
s.writeInt(_port);
s.writeInt(_timeout);
s.writeBool(_compress);
s.endWriteEncaps();
}
示例2: streamWrite
//
// Marshal the reference.
//
public virtual void streamWrite(BasicStream s)
{
//
// Don't write the identity here. Operations calling streamWrite
// write the identity.
//
//
// For compatibility with the old FacetPath.
//
if(facet_.Length == 0)
{
s.writeStringSeq(null);
}
else
{
string[] facetPath = { facet_ };
s.writeStringSeq(facetPath);
}
s.writeByte((byte)mode_);
s.writeBool(secure_);
// Derived class writes the remainder of the reference.
}
示例3: streamWriteImpl
public override void streamWriteImpl(BasicStream s)
{
base.streamWriteImpl(s);
s.writeInt(_timeout);
s.writeBool(_compress);
}
示例4: streamWriteImpl
//
// Marshal the endpoint
//
public override void streamWriteImpl(BasicStream s)
{
base.streamWriteImpl(s);
if(s.getWriteEncoding().Equals(Ice.Util.Encoding_1_0))
{
Ice.Util.Protocol_1_0.write__(s);
Ice.Util.Encoding_1_0.write__(s);
}
// Not transmitted.
//s.writeBool(_connect);
s.writeBool(_compress);
}
示例5: streamWrite
//
// Marshal the endpoint
//
public override void streamWrite(BasicStream s)
{
s.writeShort(Ice.UDPEndpointType.value);
s.startWriteEncaps();
s.writeString(_host);
s.writeInt(_port);
if(s.getWriteEncoding().Equals(Ice.Util.Encoding_1_0))
{
Ice.Util.Protocol_1_0.write__(s);
Ice.Util.Encoding_1_0.write__(s);
}
// Not transmitted.
//s.writeBool(_connect);
s.writeBool(_compress);
s.endWriteEncaps();
}
示例6: streamWrite
//
// Marshal the endpoint
//
public override void streamWrite(BasicStream s)
{
s.writeShort(Ice.UDPEndpointType.value);
s.startWriteEncaps();
s.writeString(_host);
s.writeInt(_port);
s.writeByte(_protocolMajor);
s.writeByte(_protocolMinor);
s.writeByte(_encodingMajor);
s.writeByte(_encodingMinor);
// Not transmitted.
//s.writeBool(_connect);
s.writeBool(_compress);
s.endWriteEncaps();
}