public static Ice.DispatchStatus shutdown___(BaseToBot obj__, IceInternal.Incoming inS__, Ice.Current current__) { checkMode__(Ice.OperationMode.Normal, current__.mode); inS__.readEmptyParams(); obj__.shutdown(current__); inS__.writeEmptyParams__(); return Ice.DispatchStatus.DispatchOK; }
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; }
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; }
public static Ice.DispatchStatus rotateHead___(BaseToBot obj__, IceInternal.Incoming inS__, Ice.Current current__) { checkMode__(Ice.OperationMode.Normal, current__.mode); IceInternal.BasicStream is__ = inS__.startReadParams(); int angle; angle = is__.readInt(); inS__.endReadParams(); obj__.rotateHead(angle, current__); inS__.writeEmptyParams__(); return Ice.DispatchStatus.DispatchOK; }
public static Ice.DispatchStatus playSound___(BaseToBot obj__, IceInternal.Incoming inS__, Ice.Current current__) { checkMode__(Ice.OperationMode.Normal, current__.mode); IceInternal.BasicStream is__ = inS__.startReadParams(); R2D2.Sound snd; snd = (R2D2.Sound)is__.readEnum(6); inS__.endReadParams(); obj__.playSound(snd, current__); inS__.writeEmptyParams__(); return Ice.DispatchStatus.DispatchOK; }