@Test public void testSuspendMessageIsNotWrittenForV1Sessions() { final IoSession ioSession = newSession(V1); sessionManager.shutdownSessions(singleton(ioSession), cougarProtocol, serverHandler); verify(ioSession, never()).write(isA(SuspendMessage.class)); verify(ioSession).write(isA(DisconnectMessage.class)); }
public void shutdownSessions(Set<IoSession> ioSessions, CougarProtocol cougarProtocol, ExecutionVenueServerHandler handler) { shutdownSessions(ioSessions, cougarProtocol, handler, false); }
IoSessionManager { public void shutdownSessions(Set<IoSession> ioSessions, CougarProtocol cougarProtocol, ExecutionVenueServerHandler handler) { shutdownSessions(ioSessions, cougarProtocol, handler, false); } }
IoSessionManager { public void shutdownSessions(Set<IoSession> ioSessions, CougarProtocol cougarProtocol, ExecutionVenueServerHandler handler) { shutdownSessions(ioSessions, cougarProtocol, handler, false); }  }
IoSessionManager { public void shutdownSessions(Set<IoSession> ioSessions, CougarProtocol cougarProtocol, ExecutionVenueServerHandler handler) { shutdownSessions(ioSessions, cougarProtocol, handler, false); }  void shutdownSessions(Set<IoSession> ioSessions, CougarProtocol cougarProtocol, ExecutionVenueServerHandler handler); void shutdownSessions(Set<IoSession> ioSessions, CougarProtocol cougarProtocol, ExecutionVenueServerHandler handler, boolean blockUntilComplete); void setMaxTimeToWaitForRequestCompletion(long maxTimeToWaitForRequestCompletion); void setNioLogger(NioLogger nioLogger); void waitForOutstandingRequestsToComplete(final ExecutionVenueServerHandler handler); }
IoSessionManager { public void shutdownSessions(Set<IoSession> ioSessions, CougarProtocol cougarProtocol, ExecutionVenueServerHandler handler) { shutdownSessions(ioSessions, cougarProtocol, handler, false); }  void shutdownSessions(Set<IoSession> ioSessions, CougarProtocol cougarProtocol, ExecutionVenueServerHandler handler); void shutdownSessions(Set<IoSession> ioSessions, CougarProtocol cougarProtocol, ExecutionVenueServerHandler handler, boolean blockUntilComplete); void setMaxTimeToWaitForRequestCompletion(long maxTimeToWaitForRequestCompletion); void setNioLogger(NioLogger nioLogger); void waitForOutstandingRequestsToComplete(final ExecutionVenueServerHandler handler);  }