public StompServer(int port) { _actionMap = new Dictionary <string, Action <StompServerClient, StompMessage> >(); _clients = new HashSet <StompServerClient>(); _paths = new Dictionary <string, StompPath>(); _listener = new StompListener(port, StompConfiguration.ListenBacklog); InitEvents(); InitActionMap(); }
public StompServer(int port) { _actionMap = new Dictionary<string, Action<StompServerClient, StompMessage>>(); _clients = new HashSet<StompServerClient>(); _paths = new Dictionary<string, StompPath>(); _listener = new StompListener(port, StompConfiguration.ListenBacklog); InitEvents(); InitActionMap(); }