public void DisconnectSubscriber(SubscriberConnection connection) { CommonPINVOKE.PublisherInstance_DisconnectSubscriber__SWIG_0(swigCPtr, SubscriberConnection.getCPtr(connection)); if (CommonPINVOKE.SWIGPendingException.Pending) { throw CommonPINVOKE.SWIGPendingException.Retrieve(); } }
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(); } }
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(); } }
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(); } }
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); }
protected override void ClientDisconnected(SubscriberConnection connection) => StatusMessage($"Client \"{connection.GetConnectionID()}\" with subscriber ID {connection.GetSubscriberID()} disconnected...\n\n");