Made SessionReader invoke parsing of request with CommandParserDispatcher uppon recieving request #202
+1
-1
@@ -34,7 +34,7 @@ public class SessionManager {
|
|||||||
* @return newly created session
|
* @return newly created session
|
||||||
*/
|
*/
|
||||||
public Session create(TransportLayer transport) {
|
public Session create(TransportLayer transport) {
|
||||||
Session session = new Session(transport, eventBus);
|
Session session = new Session(transport, eventBus, dispatcher);
|
||||||
SessionReader reader = new SessionReader(session, eventBus);
|
SessionReader reader = new SessionReader(session, eventBus);
|
||||||
SessionWriter writer = new SessionWriter(session);
|
SessionWriter writer = new SessionWriter(session);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user