Exemplo n.º 1
0
 public void DisconnectSubscriber(SubscriberConnection connection)
 {
     CommonPINVOKE.PublisherInstance_DisconnectSubscriber__SWIG_0(swigCPtr, SubscriberConnection.getCPtr(connection));
     if (CommonPINVOKE.SWIGPendingException.Pending)
     {
         throw CommonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 protected virtual void ClientConnected(SubscriberConnection connection)
 {
     if (SwigDerivedClassHasMethod("ClientConnected", swigMethodTypes2))
     {
         CommonPINVOKE.PublisherInstance_ClientConnectedSwigExplicitPublisherInstance(swigCPtr, SubscriberConnection.getCPtr(connection));
     }
     else
     {
         CommonPINVOKE.PublisherInstance_ClientConnected(swigCPtr, SubscriberConnection.getCPtr(connection));
     }
     if (CommonPINVOKE.SWIGPendingException.Pending)
     {
         throw CommonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
 protected virtual void HandleUserCommand(SubscriberConnection connection, uint command, ByteBuffer buffer)
 {
     if (SwigDerivedClassHasMethod("HandleUserCommand", swigMethodTypes7))
     {
         CommonPINVOKE.PublisherInstance_HandleUserCommandSwigExplicitPublisherInstance(swigCPtr, SubscriberConnection.getCPtr(connection), command, ByteBuffer.getCPtr(buffer));
     }
     else
     {
         CommonPINVOKE.PublisherInstance_HandleUserCommand(swigCPtr, SubscriberConnection.getCPtr(connection), command, ByteBuffer.getCPtr(buffer));
     }
     if (CommonPINVOKE.SWIGPendingException.Pending)
     {
         throw CommonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
 protected virtual void ProcessingIntervalChangeRequested(SubscriberConnection connection)
 {
     if (SwigDerivedClassHasMethod("ProcessingIntervalChangeRequested", swigMethodTypes4))
     {
         CommonPINVOKE.PublisherInstance_ProcessingIntervalChangeRequestedSwigExplicitPublisherInstance(swigCPtr, SubscriberConnection.getCPtr(connection));
     }
     else
     {
         CommonPINVOKE.PublisherInstance_ProcessingIntervalChangeRequested(swigCPtr, SubscriberConnection.getCPtr(connection));
     }
     if (CommonPINVOKE.SWIGPendingException.Pending)
     {
         throw CommonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 5
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SubscriberConnection obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 6
0
 protected override void ClientDisconnected(SubscriberConnection connection) =>
 StatusMessage($"Client \"{connection.GetConnectionID()}\" with subscriber ID {connection.GetSubscriberID()} disconnected...\n\n");