Invalid sequence of events with VmPipe Transport
------------------------------------------------

                 Key: DIRMINA-306
                 URL: http://issues.apache.org/jira/browse/DIRMINA-306
             Project: Directory MINA
          Issue Type: Bug
          Components: Transport
    Affects Versions: 1.0
            Reporter: Simon R?ss


Sometimes when using VmPipe transport, event sequences get out of order. 
Namely, the messageReceived method is invoked before the sessionOpened. To 
following sequence of events highlights the problem:

- using VmPipeConnector and VmPipeAcceptor
- client connects to server
- server's IoHandler#sessionOpened method is called
- server sends a message from the sessionOpened method
- client receives that message (IoHandler#messageReceived)
- client's IoHandler#sessionOpened method is invoked

IoHandler#sessionOpened should always be invoked before the first invocation of 
IoHandler#messageReceived.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to