/// <summary> /// Initializes a new instance of the <see cref="BaseEventSender"/> class with the specified /// <see cref="BasePeer"/>. /// </summary> /// <param name="peer"><see cref="BasePeer"/> to use.</param> protected BaseEventSender(BasePeer peer) { if (peer == null) { throw new ArgumentNullException(nameof(peer)); } _peer = peer; }
public virtual void OnDisconnect(BasePeer peer, DisconnectReason reasonCode, string reasonDetail) { // Space }
public abstract void OnOperationRequest(BasePeer peer, byte opCode, MemoryStream bytes);