本文整理汇总了C#中IceInternal.writeInt方法的典型用法代码示例。如果您正苦于以下问题:C# IceInternal.writeInt方法的具体用法?C# IceInternal.writeInt怎么用?C# IceInternal.writeInt使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IceInternal
的用法示例。
在下文中一共展示了IceInternal.writeInt方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: writeImpl__
protected override void writeImpl__(IceInternal.BasicStream os__)
{
os__.startWriteSlice("::minie::irpc::GenericError", -1, true);
os__.writeInt(errorCode);
os__.writeString(errorMessage);
os__.endWriteSlice();
}
示例2: write
public static void write(IceInternal.BasicStream os__,
_System.Collections.Generic.Dictionary<int, Murmur.User> v__)
{
if(v__ == null)
{
os__.writeSize(0);
}
else
{
os__.writeSize(v__.Count);
foreach(_System.Collections.Generic.KeyValuePair<int, Murmur.User> e__ in v__)
{
os__.writeInt(e__.Key);
if(e__.Value == null)
{
Murmur.User tmp__ = new Murmur.User();
tmp__.write__(os__);
}
else
{
e__.Value.write__(os__);
}
}
}
}
示例3: write__
public void write__(IceInternal.BasicStream os__)
{
os__.writeInt(nDevID);
os__.writeInt(nLocType);
os__.writeString(sStatus);
}
示例4: write__
public void write__(IceInternal.BasicStream os__)
{
os__.writeInt(min);
os__.writeInt(max);
}
示例5: write__
public void write__(IceInternal.BasicStream os__)
{
os__.writeInt(session);
os__.writeInt(userid);
os__.writeBool(mute);
os__.writeBool(deaf);
os__.writeBool(suppress);
os__.writeBool(selfMute);
os__.writeBool(selfDeaf);
os__.writeInt(channel);
os__.writeString(name);
os__.writeInt(onlinesecs);
os__.writeInt(bytespersec);
os__.writeInt(version);
os__.writeString(release);
os__.writeString(os);
os__.writeString(osversion);
os__.writeString(identity);
os__.writeString(context);
os__.writeString(comment);
os__.writeByteSeq(address);
os__.writeBool(tcponly);
os__.writeInt(idlesecs);
}
示例6: write__
public void write__(IceInternal.BasicStream os__)
{
os__.writeInt(x);
os__.writeInt(y);
os__.writeInt(blockage);
}
示例7: write__
public void write__(IceInternal.BasicStream os__)
{
os__.writeStringSeq(URLs);
os__.writeString(formActionURL);
os__.writeString(HTTPRealm);
os__.writeString(title);
if(formFieldList == null)
{
os__.writeSize(0);
}
else
{
os__.writeSize(formFieldList.Length);
for(int ix__ = 0; ix__ < formFieldList.Length; ++ix__)
{
(formFieldList == null ? new KeeICE.KPlib.KPFormField() : formFieldList[ix__]).write__(os__);
}
}
os__.writeBool(exactMatch);
os__.writeString(uniqueID);
os__.writeBool(alwaysAutoFill);
os__.writeBool(neverAutoFill);
os__.writeBool(alwaysAutoSubmit);
os__.writeBool(neverAutoSubmit);
os__.writeInt(priority);
os__.writeString(parentGroupName);
os__.writeString(parentGroupUUID);
os__.writeString(parentGroupPath);
os__.writeString(iconImageData);
}
示例8: streamWrite
//
// Marshal the endpoint.
//
public override void streamWrite(IceInternal.BasicStream s)
{
s.writeShort(EndpointType.value);
s.startWriteEncaps();
s.writeString(_host);
s.writeInt(_port);
s.writeInt(_timeout);
s.writeBool(_compress);
s.endWriteEncaps();
}
示例9: streamWriteImpl
public override void streamWriteImpl(IceInternal.BasicStream s)
{
base.streamWriteImpl(s);
s.writeInt(_timeout);
s.writeBool(_compress);
}
示例10: doCompress
private IceInternal.BasicStream doCompress(IceInternal.BasicStream uncompressed, bool compress)
{
if(_compressionSupported)
{
if(compress && uncompressed.size() >= 100)
{
//
// Do compression.
//
IceInternal.BasicStream cstream = null;
if(uncompressed.compress(ref cstream, IceInternal.Protocol.headerSize, _compressionLevel))
{
//
// Set compression status.
//
cstream.pos(9);
cstream.writeByte((byte)2);
//
// Write the size of the compressed stream into the header.
//
cstream.pos(10);
cstream.writeInt(cstream.size());
//
// Write the compression status and size of the compressed stream into the header of the
// uncompressed stream -- we need this to trace requests correctly.
//
uncompressed.pos(9);
uncompressed.writeByte((byte)2);
uncompressed.writeInt(cstream.size());
return cstream;
}
}
}
uncompressed.pos(9);
uncompressed.writeByte((byte)((_compressionSupported && compress) ? 1 : 0));
//
// Not compressed, fill in the message size.
//
uncompressed.pos(10);
uncompressed.writeInt(uncompressed.size());
return uncompressed;
}
示例11: write__
public void write__(IceInternal.BasicStream os__)
{
os__.writeInt(nID);
os__.writeString(sName);
os__.writeInt(nRight);
}