this.outgoingQueue = outgoingQueue;
}
public ConnectionState add(Connection<InterHubMessage> connection) {
incomingQueue.queue(new ConnectionEstablished(connection));
EndPointQueue queue = outgoingQueue.newEndpoint();
ConnectionState state = new ConnectionState(this, connection, queue);
connections.add(state);
return state;
}