本文整理汇总了C#中IceInternal.BasicStream.writeString方法的典型用法代码示例。如果您正苦于以下问题:C# BasicStream.writeString方法的具体用法?C# BasicStream.writeString怎么用?C# BasicStream.writeString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IceInternal.BasicStream
的用法示例。
在下文中一共展示了BasicStream.writeString方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: streamWriteImpl
public virtual void streamWriteImpl(BasicStream s)
{
s.writeString(host_);
s.writeInt(port_);
}
示例2: 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();
}
示例3: streamWrite
public override void streamWrite(BasicStream s)
{
base.streamWrite(s);
s.writeSize(_endpoints.Length);
if(_endpoints.Length > 0)
{
Debug.Assert(_adapterId.Length == 0);
for(int i = 0; i < _endpoints.Length; i++)
{
_endpoints[i].streamWrite(s);
}
}
else
{
s.writeString(_adapterId); // Adapter id.
}
}
示例4: 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();
}
示例5: 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();
}
示例6: streamWrite
public override void streamWrite(BasicStream s)
{
s.startWriteEncaps();
_delegate.streamWriteImpl(s);
s.writeString(_resource);
s.endWriteEncaps();
}