Ejemplo n.º 1
0
 public override void streamWrite(IceInternal.BasicStream s)
 {
     s.startWriteEncaps();
     s.writeShort(_endpoint.type());
     _endpoint.streamWrite(s);
     s.endWriteEncaps();
 }
Ejemplo n.º 2
0
 private Ice.AsyncResult <Streamer.Callback_BitmapProvider_getBitmap> begin_getBitmap(float ex, float ey, float ez, float dx, float dy, float dz, float ax, float ay, float az, float timer, float depthOfField, float transparentColor, _System.Collections.Generic.Dictionary <string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
 {
     checkAsyncTwowayOnly__(__getBitmap_name);
     IceInternal.TwowayOutgoingAsync <Streamer.Callback_BitmapProvider_getBitmap> result__ = new IceInternal.TwowayOutgoingAsync <Streamer.Callback_BitmapProvider_getBitmap>(this, __getBitmap_name, getBitmap_completed__, cookie__);
     if (cb__ != null)
     {
         result__.whenCompletedWithAsyncCallback(cb__);
     }
     try
     {
         result__.prepare__(__getBitmap_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
         IceInternal.BasicStream os__ = result__.ostr__;
         os__.writeFloat(ex);
         os__.writeFloat(ey);
         os__.writeFloat(ez);
         os__.writeFloat(dx);
         os__.writeFloat(dy);
         os__.writeFloat(dz);
         os__.writeFloat(ax);
         os__.writeFloat(ay);
         os__.writeFloat(az);
         os__.writeFloat(timer);
         os__.writeFloat(depthOfField);
         os__.writeFloat(transparentColor);
         os__.endWriteEncaps();
         result__.send__(true);
     }
     catch (Ice.LocalException ex__)
     {
         result__.exceptionAsync__(ex__);
     }
     return(result__);
 }
Ejemplo n.º 3
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();
 }
Ejemplo n.º 4
0
 private Ice.AsyncResult <MCS.Callback_MESLink_GetFoup> begin_GetFoup(int foupBarCode, _System.Collections.Generic.Dictionary <string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
 {
     checkAsyncTwowayOnly__(__GetFoup_name);
     IceInternal.TwowayOutgoingAsync <MCS.Callback_MESLink_GetFoup> result__ = new IceInternal.TwowayOutgoingAsync <MCS.Callback_MESLink_GetFoup>(this, __GetFoup_name, GetFoup_completed__, cookie__);
     if (cb__ != null)
     {
         result__.whenCompletedWithAsyncCallback(cb__);
     }
     try
     {
         result__.prepare__(__GetFoup_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
         IceInternal.BasicStream os__ = result__.ostr__;
         os__.writeInt(foupBarCode);
         os__.endWriteEncaps();
         result__.send__(true);
     }
     catch (Ice.LocalException ex__)
     {
         result__.exceptionAsync__(ex__);
     }
     return(result__);
 }
Ejemplo n.º 5
0
 private Ice.AsyncResult <Streamer.Callback_BitmapProvider_helloWorld> begin_helloWorld(string something, _System.Collections.Generic.Dictionary <string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
 {
     checkAsyncTwowayOnly__(__helloWorld_name);
     IceInternal.TwowayOutgoingAsync <Streamer.Callback_BitmapProvider_helloWorld> result__ = new IceInternal.TwowayOutgoingAsync <Streamer.Callback_BitmapProvider_helloWorld>(this, __helloWorld_name, helloWorld_completed__, cookie__);
     if (cb__ != null)
     {
         result__.whenCompletedWithAsyncCallback(cb__);
     }
     try
     {
         result__.prepare__(__helloWorld_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
         IceInternal.BasicStream os__ = result__.ostr__;
         os__.writeString(something);
         os__.endWriteEncaps();
         result__.send__(true);
     }
     catch (Ice.LocalException ex__)
     {
         result__.exceptionAsync__(ex__);
     }
     return(result__);
 }