本文整理汇总了C#中IceInternal.startReadParams方法的典型用法代码示例。如果您正苦于以下问题:C# IceInternal.startReadParams方法的具体用法?C# IceInternal.startReadParams怎么用?C# IceInternal.startReadParams使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IceInternal
的用法示例。
在下文中一共展示了IceInternal.startReadParams方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: register_app_user_step2___
public static Ice.DispatchStatus register_app_user_step2___(BackendService obj__, IceInternal.Incoming inS__, Ice.Current current__)
{
Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
IceInternal.BasicStream is__ = inS__.startReadParams();
string cellphone;
string password;
int verifyCode;
cellphone = is__.readString();
password = is__.readString();
verifyCode = is__.readInt();
inS__.endReadParams();
try
{
minie.irpc.cm_user_rpc ret__ = obj__.register_app_user_step2(cellphone, password, verifyCode, current__);
IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
os__.writeObject(ret__);
os__.writePendingObjects();
inS__.endWriteParams__(true);
return Ice.DispatchStatus.DispatchOK;
}
catch(minie.irpc.VerificationError ex__)
{
inS__.writeUserException__(ex__, Ice.FormatType.DefaultFormat);
return Ice.DispatchStatus.DispatchUserException;
}
}
示例2: move___
public static Ice.DispatchStatus move___(BaseToBot obj__, IceInternal.Incoming inS__, Ice.Current current__)
{
checkMode__(Ice.OperationMode.Normal, current__.mode);
IceInternal.BasicStream is__ = inS__.startReadParams();
int lSpeed;
int rSpeed;
lSpeed = is__.readInt();
rSpeed = is__.readInt();
inS__.endReadParams();
obj__.move(lSpeed, rSpeed, current__);
inS__.writeEmptyParams__();
return Ice.DispatchStatus.DispatchOK;
}
示例3: setFlapState___
public static Ice.DispatchStatus setFlapState___(BaseToBot obj__, IceInternal.Incoming inS__, Ice.Current current__)
{
checkMode__(Ice.OperationMode.Normal, current__.mode);
IceInternal.BasicStream is__ = inS__.startReadParams();
R2D2.FlapState state;
state = (R2D2.FlapState)is__.readEnum(1);
inS__.endReadParams();
obj__.setFlapState(state, current__);
inS__.writeEmptyParams__();
return Ice.DispatchStatus.DispatchOK;
}
示例4: updatePowerStats___
public static Ice.DispatchStatus updatePowerStats___(BotToBase obj__, IceInternal.Incoming inS__, Ice.Current current__)
{
checkMode__(Ice.OperationMode.Normal, current__.mode);
IceInternal.BasicStream is__ = inS__.startReadParams();
float batteryPercent;
float voltage;
float regulatedCurrent;
float unregulatedCurrent;
batteryPercent = is__.readFloat();
voltage = is__.readFloat();
regulatedCurrent = is__.readFloat();
unregulatedCurrent = is__.readFloat();
inS__.endReadParams();
obj__.updatePowerStats(batteryPercent, voltage, regulatedCurrent, unregulatedCurrent, current__);
inS__.writeEmptyParams__();
return Ice.DispatchStatus.DispatchOK;
}
示例5: stopAndGo___
public static Ice.DispatchStatus stopAndGo___(BotToBase obj__, IceInternal.Incoming inS__, Ice.Current current__)
{
checkMode__(Ice.OperationMode.Normal, current__.mode);
IceInternal.BasicStream is__ = inS__.startReadParams();
bool stopped;
stopped = is__.readBool();
inS__.endReadParams();
obj__.stopAndGo(stopped, current__);
inS__.writeEmptyParams__();
return Ice.DispatchStatus.DispatchOK;
}
示例6: revoke_privilige___
public static Ice.DispatchStatus revoke_privilige___(AppService obj__, IceInternal.Incoming inS__, Ice.Current current__)
{
Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
IceInternal.BasicStream is__ = inS__.startReadParams();
IceInternal.ParamPatcher<minie.irpc.cm_friend_privilege_rpc> privilege__PP = new IceInternal.ParamPatcher<minie.irpc.cm_friend_privilege_rpc>(minie.irpc.cm_friend_privilege_rpc.ice_staticId());
is__.readObject(privilege__PP);
is__.readPendingObjects();
inS__.endReadParams();
int ret__ = obj__.revoke_privilige(privilege__PP.value, current__);
IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
os__.writeInt(ret__);
inS__.endWriteParams__(true);
return Ice.DispatchStatus.DispatchOK;
}
示例7: updateBotPosition___
public static Ice.DispatchStatus updateBotPosition___(BotToBase obj__, IceInternal.Incoming inS__, Ice.Current current__)
{
checkMode__(Ice.OperationMode.Normal, current__.mode);
IceInternal.BasicStream is__ = inS__.startReadParams();
R2D2.BotPosition enc;
enc = new R2D2.BotPosition();
R2D2.BotPosition imu;
imu = new R2D2.BotPosition();
enc.read__(is__);
imu.read__(is__);
inS__.endReadParams();
obj__.updateBotPosition(enc, imu, current__);
inS__.writeEmptyParams__();
return Ice.DispatchStatus.DispatchOK;
}
示例8: toUpper___
public static Ice.DispatchStatus toUpper___(Converter obj__, IceInternal.Incoming inS__, Ice.Current current__)
{
checkMode__(Ice.OperationMode.Normal, current__.mode);
IceInternal.BasicStream is__ = inS__.startReadParams();
string s;
s = is__.readString();
inS__.endReadParams();
string ret__ = obj__.toUpper(s, current__);
IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
os__.writeString(ret__);
inS__.endWriteParams__(true);
return Ice.DispatchStatus.DispatchOK;
}
示例9: signCSR___
public static Ice.DispatchStatus signCSR___(CertSigner obj__, IceInternal.Incoming inS__, Ice.Current current__)
{
checkMode__(Ice.OperationMode.Normal, current__.mode);
IceInternal.BasicStream is__ = inS__.startReadParams();
string name;
string surname;
byte[] csrFile;
name = is__.readString();
surname = is__.readString();
csrFile = Ice.ByteSeqHelper.read(is__);
inS__.endReadParams();
try
{
byte[] ret__ = obj__.signCSR(name, surname, csrFile, current__);
IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
Ice.ByteSeqHelper.write(os__, ret__);
inS__.endWriteParams__(true);
return Ice.DispatchStatus.DispatchOK;
}
catch(SR.DataTooLong ex__)
{
inS__.writeUserException__(ex__, Ice.FormatType.DefaultFormat);
return Ice.DispatchStatus.DispatchUserException;
}
catch(SR.IncorrectCSRFile ex__)
{
inS__.writeUserException__(ex__, Ice.FormatType.DefaultFormat);
return Ice.DispatchStatus.DispatchUserException;
}
}
示例10: log___
public static Ice.DispatchStatus log___(MidaxIce obj__, IceInternal.Incoming inS__, Ice.Current current__)
{
checkMode__(Ice.OperationMode.Idempotent, current__.mode);
IceInternal.BasicStream is__ = inS__.startReadParams();
string message;
long logType;
message = is__.readString();
logType = is__.readLong();
inS__.endReadParams();
obj__.log(message, logType, current__);
inS__.writeEmptyParams__();
return Ice.DispatchStatus.DispatchOK;
}
示例11: tick___
public static Ice.DispatchStatus tick___(MidaxIce obj__, IceInternal.Incoming inS__, Ice.Current current__)
{
checkMode__(Ice.OperationMode.Idempotent, current__.mode);
IceInternal.BasicStream is__ = inS__.startReadParams();
string mktDataId;
long year;
long month;
long day;
long hours;
long minutes;
long seconds;
long milliseconds;
double price;
long volume;
mktDataId = is__.readString();
year = is__.readLong();
month = is__.readLong();
day = is__.readLong();
hours = is__.readLong();
minutes = is__.readLong();
seconds = is__.readLong();
milliseconds = is__.readLong();
price = is__.readDouble();
volume = is__.readLong();
inS__.endReadParams();
obj__.tick(mktDataId, year, month, day, hours, minutes, seconds, milliseconds, price, volume, current__);
inS__.writeEmptyParams__();
return Ice.DispatchStatus.DispatchOK;
}
示例12: remove_cm_entrance___
public static Ice.DispatchStatus remove_cm_entrance___(BackendService obj__, IceInternal.Incoming inS__, Ice.Current current__)
{
Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
IceInternal.BasicStream is__ = inS__.startReadParams();
string entranceID;
entranceID = is__.readString();
inS__.endReadParams();
int ret__ = obj__.remove_cm_entrance(entranceID, current__);
IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
os__.writeInt(ret__);
inS__.endWriteParams__(true);
return Ice.DispatchStatus.DispatchOK;
}
示例13: get_cm_node___
public static Ice.DispatchStatus get_cm_node___(BackendService obj__, IceInternal.Incoming inS__, Ice.Current current__)
{
Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
IceInternal.BasicStream is__ = inS__.startReadParams();
string nodeID;
nodeID = is__.readString();
inS__.endReadParams();
minie.irpc.cm_node_rpc ret__ = obj__.get_cm_node(nodeID, current__);
IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
os__.writeObject(ret__);
os__.writePendingObjects();
inS__.endWriteParams__(true);
return Ice.DispatchStatus.DispatchOK;
}
示例14: update_sys_user___
public static Ice.DispatchStatus update_sys_user___(BackendService obj__, IceInternal.Incoming inS__, Ice.Current current__)
{
Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
IceInternal.BasicStream is__ = inS__.startReadParams();
IceInternal.ParamPatcher<minie.irpc.sys_user_rpc> user__PP = new IceInternal.ParamPatcher<minie.irpc.sys_user_rpc>(minie.irpc.sys_user_rpc.ice_staticId());
is__.readObject(user__PP);
is__.readPendingObjects();
inS__.endReadParams();
int ret__ = obj__.update_sys_user(user__PP.value, current__);
IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
os__.writeInt(ret__);
inS__.endWriteParams__(true);
return Ice.DispatchStatus.DispatchOK;
}
示例15: del_blacklist_member___
public static Ice.DispatchStatus del_blacklist_member___(AppService obj__, IceInternal.Incoming inS__, Ice.Current current__)
{
Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
IceInternal.BasicStream is__ = inS__.startReadParams();
string cellphone;
cellphone = is__.readString();
inS__.endReadParams();
try
{
int ret__ = obj__.del_blacklist_member(cellphone, current__);
IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
os__.writeInt(ret__);
inS__.endWriteParams__(true);
return Ice.DispatchStatus.DispatchOK;
}
catch(minie.irpc.GenericError ex__)
{
inS__.writeUserException__(ex__, Ice.FormatType.DefaultFormat);
return Ice.DispatchStatus.DispatchUserException;
}
}