Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/transport/tcp
In directory sc8-pr-cvs1:/tmp/cvs-serv23684/src/org/beepcore/beep/transport/tcp
Modified Files:
TCPSession.java
Log Message:
added SessionResetEvent for tuning resets
Index: TCPSession.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/transport/tcp/TCPSession.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -r1.29 -r1.30
*** TCPSession.java 23 Apr 2003 15:23:04 -0000 1.29
--- TCPSession.java 20 May 2003 16:06:16 -0000 1.30
***************
*** 345,355 ****
}
! if (isInitiator()) {
! return new TCPSession(s, reg, CHANNEL_START_ODD,
! localCred, peerCred, tuning, null);
! } else {
! return new TCPSession(s, reg, CHANNEL_START_EVEN,
! localCred, peerCred, tuning, null);
! }
}
--- 345,356 ----
}
! Session newSession = new TCPSession(s, reg,
! (isInitiator() ? CHANNEL_START_ODD:
! CHANNEL_START_EVEN),
! localCred, peerCred, tuning, null);
!
! this.fireSessionReset(newSession);
!
! return newSession;
}
|