Add: Pass CommandParserDispatcher instance to session upon creation
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ public class SessionManager {
|
||||
* @return newly created session
|
||||
*/
|
||||
public Session create(TransportLayer transport) {
|
||||
Session session = new Session(transport, eventBus);
|
||||
Session session = new Session(transport, eventBus, dispatcher);
|
||||
SessionReader reader = new SessionReader(session, eventBus);
|
||||
SessionWriter writer = new SessionWriter(session);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user