Пример #1
0
 //
 // 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();
 }
Пример #2
0
        public static DispatchStatus ice_isA___(Ice.Object __obj, IceInternal.Incoming inS__, Current __current)
        {
            IceInternal.BasicStream is__ = inS__.startReadParams();
            string __id = is__.readString();

            inS__.endReadParams();
            bool __ret = __obj.ice_isA(__id, __current);

            IceInternal.BasicStream os__ = inS__.startWriteParams__(FormatType.DefaultFormat);
            os__.writeBool(__ret);
            inS__.endWriteParams__(true);
            return(DispatchStatus.DispatchOK);
        }
Пример #3
0
        public static Ice.DispatchStatus WriteLogInit___(LogServer_RPC obj__, IceInternal.Incoming inS__, Ice.Current current__)
        {
            Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
            IceInternal.BasicStream is__ = inS__.startReadParams();
            IRPC.LogInitInfo        InitInfo;
            InitInfo = null;
            InitInfo = IRPC.LogInitInfo.read__(is__, InitInfo);
            inS__.endReadParams();
            bool ret__ = obj__.WriteLogInit(InitInfo, current__);

            IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
            os__.writeBool(ret__);
            inS__.endWriteParams__(true);
            return(Ice.DispatchStatus.DispatchOK);
        }
Пример #4
0
 private Ice.AsyncResult <IRPC.Callback_LogServer_RPC_SetWriteLogFlag> begin_SetWriteLogFlag(bool bWrite, _System.Collections.Generic.Dictionary <string, string> ctx__, bool explicitContext__, bool synchronous__, Ice.AsyncCallback cb__, object cookie__)
 {
     IceInternal.OnewayOutgoingAsync <IRPC.Callback_LogServer_RPC_SetWriteLogFlag> result__ = getOnewayOutgoingAsync <IRPC.Callback_LogServer_RPC_SetWriteLogFlag>(__SetWriteLogFlag_name, SetWriteLogFlag_completed__, cookie__);
     if (cb__ != null)
     {
         result__.whenCompletedWithAsyncCallback(cb__);
     }
     try
     {
         result__.prepare(__SetWriteLogFlag_name, Ice.OperationMode.Normal, ctx__, explicitContext__, synchronous__);
         IceInternal.BasicStream os__ = result__.startWriteParams(Ice.FormatType.DefaultFormat);
         os__.writeBool(bWrite);
         result__.endWriteParams();
         result__.invoke();
     }
     catch (Ice.Exception ex__)
     {
         result__.abort(ex__);
     }
     return(result__);
 }
Пример #5
0
 public override void streamWriteImpl(IceInternal.BasicStream s)
 {
     base.streamWriteImpl(s);
     s.writeInt(_timeout);
     s.writeBool(_compress);
 }