Ejemplo n.º 1
0
 private static extern void Unicorn_SetCallbacks(
     ConnectionType connectionType,
     D_Connected _Connected,
     D_Disconnected _Disconnected,
     D_Terminated _Terminated,
     D_OnNewChannelConnection _OnNewChannelConnection,
     D_OnDataReceived _OnDataReceived,
     D_OnReadError _OnReadError,
     D_OnClose _OnClose
     );
Ejemplo n.º 2
0
 public static void SetCallbacks(
     ConnectionType connectionType,
     D_Connected _Connected,
     D_Disconnected _Disconnected,
     D_Terminated _Terminated,
     D_OnNewChannelConnection _OnNewChannelConnection,
     D_OnDataReceived _OnDataReceived,
     D_OnReadError _OnReadError,
     D_OnClose _OnClose
     )
 {
     Unicorn_SetCallbacks(connectionType, _Connected, _Disconnected, _Terminated, _OnNewChannelConnection, _OnDataReceived, _OnReadError, _OnClose);
 }