Inheritance: System.EventArgs
Exemplo n.º 1
0
 public void onInitStateChanged(InitStateChangedEvent e)
 {
     if (StateChanged != null)
     {
         StateChanged(this, e);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="ptr"></param>
 /// <param name="err"></param>
 /// <param name="h"></param>
 private static void onInitComplete(IntPtr ptr,
                                    ref ADLError err, IntPtr h)
 {
     InitStateChangedEvent.InitState state;
     if (err.err_code == 0)
     {
         _platformHandle = h;
         _service        = new CloudeoServiceImpl(h);
         state           = InitStateChangedEvent.InitState.INITIALIZED;
     }
     else
     {
         state = InitStateChangedEvent.InitState.ERROR;
     }
     if (_listener != null)
     {
         InitStateChangedEvent e = new InitStateChangedEvent(state,
                                                             err.err_code, err.err_message.body);
         _listener.onInitStateChanged(e);
     }
 }
Exemplo n.º 3
0
 public void onInitStateChanged(InitStateChangedEvent e)
 {
     if (e.state == InitStateChangedEvent.InitState.INITIALIZED)
     {
         _form.onPlatformReady();
     }
 }
Exemplo n.º 4
0
 public void onInitStateChanged(InitStateChangedEvent e)
 {
     _initState = e.state;
     _errMsg = e.errMessage;
     _latch.Signal();
 }
 public void onInitStateChanged(InitStateChangedEvent e)
 {
     if (StateChanged != null)
         StateChanged(this, e);
 }