Ejemplo n.º 1
0
 internal static extern IntPtr /*zn_subscriber_t*/ ZnDeclareSubscriber(
     IntPtr /*zn_session_t*/ rustSession,
     ResKey.NativeType zResKey,
     SubInfo.NativeType zSubInfo,
     SubscriberCallbackNative callback,
     IntPtr /*void* */ arg);
Ejemplo n.º 2
0
 private Session(IntPtr /*zn_session_t*/ nativeSession)
 {
     this._nativePtr = nativeSession;
     this._subscriberCallbackNative = new SubscriberCallbackNative(SubscriberCallbackNativeImpl);
     this.Subscribers = new Dictionary <Int32, Subscriber>();
 }