internal override void Process(CloseCommand command) { // Unregister all inproc endpoints associated with this socket. // Doing this we make sure that no new pipes from other sockets (inproc) // will be initiated. InProcManager.UnregisterEndpoints(this); // Pipes array can change during the closing method, so we take a copy var pipes = m_pipes.ToArray(); RegisterCloseAcks(m_pipes.Count); base.Process(command); // Ask all attached pipes to dispose. foreach (var pipe in pipes) { pipe.Close(false); } }
internal virtual void Process(CloseCommand command) { throw new NotImplementedException(); }
public static void SendClose(Own destination, TimeSpan linger) { var command = new CloseCommand(destination, linger); SendCommand(command); }
internal override void Process(CloseCommand command) { base.Process(command); }