beepcore-java-commits Mailing List for Java BEEP Core (Page 11)
Status: Beta
Brought to you by:
huston
You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(22) |
Aug
(1) |
Sep
|
Oct
(16) |
Nov
(60) |
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(3) |
Feb
|
Mar
(4) |
Apr
(2) |
May
(13) |
Jun
|
Jul
|
Aug
(10) |
Sep
(34) |
Oct
(27) |
Nov
(2) |
Dec
(2) |
| 2003 |
Jan
|
Feb
|
Mar
(3) |
Apr
(15) |
May
(11) |
Jun
(14) |
Jul
(5) |
Aug
(1) |
Sep
(24) |
Oct
(4) |
Nov
(26) |
Dec
(1) |
| 2004 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2006 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Huston F. <hu...@us...> - 2001-11-08 05:51:38
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/util In directory usw-pr-cvs1:/tmp/cvs-serv13730/src/org/beepcore/beep/util Modified Files: ConsoleLog.java Log.java LogService.java Log Message: changed URL for BPL Index: ConsoleLog.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/util/ConsoleLog.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** ConsoleLog.java 2001/05/23 13:54:04 1.4 --- ConsoleLog.java 2001/11/08 05:51:35 1.5 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: Log.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/util/Log.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** Log.java 2001/05/23 13:53:30 1.4 --- Log.java 2001/11/08 05:51:35 1.5 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: LogService.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/util/LogService.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** LogService.java 2001/04/26 16:35:05 1.2 --- LogService.java 2001/11/08 05:51:35 1.3 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, |
|
From: Huston F. <hu...@us...> - 2001-11-08 05:51:38
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/tls In directory usw-pr-cvs1:/tmp/cvs-serv13730/src/org/beepcore/beep/profile/tls Modified Files: TLSProfile.java TLSProfileHandshakeCompletedListener.java Log Message: changed URL for BPL Index: TLSProfile.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/tls/TLSProfile.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** TLSProfile.java 2001/10/31 00:32:38 1.12 --- TLSProfile.java 2001/11/08 05:51:35 1.13 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: TLSProfileHandshakeCompletedListener.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/tls/TLSProfileHandshakeCompletedListener.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** TLSProfileHandshakeCompletedListener.java 2001/07/09 05:57:04 1.2 --- TLSProfileHandshakeCompletedListener.java 2001/11/08 05:51:35 1.3 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, |
|
From: Huston F. <hu...@us...> - 2001-11-08 05:51:38
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/database In directory usw-pr-cvs1:/tmp/cvs-serv13730/src/org/beepcore/beep/profile/sasl/otp/database Modified Files: NoMorePasswordsException.java UserDBNotFoundException.java UserDatabase.java UserDatabaseImpl.java UserDatabaseManager.java UserDatabasePool.java Log Message: changed URL for BPL Index: NoMorePasswordsException.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/database/NoMorePasswordsException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** NoMorePasswordsException.java 2001/04/02 21:38:14 1.1 --- NoMorePasswordsException.java 2001/11/08 05:51:35 1.2 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: UserDBNotFoundException.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/database/UserDBNotFoundException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** UserDBNotFoundException.java 2001/04/02 21:38:14 1.1 --- UserDBNotFoundException.java 2001/11/08 05:51:35 1.2 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: UserDatabase.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/database/UserDatabase.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** UserDatabase.java 2001/04/02 21:38:14 1.1 --- UserDatabase.java 2001/11/08 05:51:35 1.2 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: UserDatabaseImpl.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/database/UserDatabaseImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** UserDatabaseImpl.java 2001/04/02 21:38:14 1.1 --- UserDatabaseImpl.java 2001/11/08 05:51:35 1.2 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: UserDatabaseManager.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/database/UserDatabaseManager.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** UserDatabaseManager.java 2001/04/02 21:38:14 1.1 --- UserDatabaseManager.java 2001/11/08 05:51:35 1.2 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: UserDatabasePool.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/database/UserDatabasePool.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** UserDatabasePool.java 2001/04/02 21:38:14 1.1 --- UserDatabasePool.java 2001/11/08 05:51:35 1.2 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, |
|
From: Huston F. <hu...@us...> - 2001-11-08 05:51:38
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/algorithm/md5 In directory usw-pr-cvs1:/tmp/cvs-serv13730/src/org/beepcore/beep/profile/sasl/otp/algorithm/md5 Modified Files: MD5.java Log Message: changed URL for BPL Index: MD5.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/algorithm/md5/MD5.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** MD5.java 2001/04/09 13:26:22 1.2 --- MD5.java 2001/11/08 05:51:34 1.3 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, |
|
From: Huston F. <hu...@us...> - 2001-11-08 05:51:38
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/algorithm/sha1 In directory usw-pr-cvs1:/tmp/cvs-serv13730/src/org/beepcore/beep/profile/sasl/otp/algorithm/sha1 Modified Files: SHA1.java Log Message: changed URL for BPL Index: SHA1.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/algorithm/sha1/SHA1.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** SHA1.java 2001/04/02 21:38:14 1.1 --- SHA1.java 2001/11/08 05:51:34 1.2 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, |
|
From: Huston F. <hu...@us...> - 2001-11-08 05:51:37
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/algorithm In directory usw-pr-cvs1:/tmp/cvs-serv13730/src/org/beepcore/beep/profile/sasl/otp/algorithm Modified Files: Algorithm.java AlgorithmImpl.java Log Message: changed URL for BPL Index: Algorithm.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/algorithm/Algorithm.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** Algorithm.java 2001/04/02 21:38:14 1.1 --- Algorithm.java 2001/11/08 05:51:34 1.2 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: AlgorithmImpl.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/algorithm/AlgorithmImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** AlgorithmImpl.java 2001/04/02 21:38:14 1.1 --- AlgorithmImpl.java 2001/11/08 05:51:34 1.2 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, |
|
From: Huston F. <hu...@us...> - 2001-11-08 05:51:37
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp In directory usw-pr-cvs1:/tmp/cvs-serv13730/src/org/beepcore/beep/profile/sasl/otp Modified Files: IllegalOTPStateException.java OTPAuthenticator.java OTPDictionary.java OTPGenerator.java SASLOTPProfile.java SequenceZeroFailure.java Log Message: changed URL for BPL Index: IllegalOTPStateException.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/IllegalOTPStateException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** IllegalOTPStateException.java 2001/04/02 21:38:14 1.1 --- IllegalOTPStateException.java 2001/11/08 05:51:34 1.2 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: OTPAuthenticator.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/OTPAuthenticator.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** OTPAuthenticator.java 2001/10/31 00:32:38 1.9 --- OTPAuthenticator.java 2001/11/08 05:51:34 1.10 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: OTPDictionary.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/OTPDictionary.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** OTPDictionary.java 2001/04/02 21:38:14 1.1 --- OTPDictionary.java 2001/11/08 05:51:34 1.2 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: OTPGenerator.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/OTPGenerator.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** OTPGenerator.java 2001/05/07 19:21:57 1.3 --- OTPGenerator.java 2001/11/08 05:51:34 1.4 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: SASLOTPProfile.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/SASLOTPProfile.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** SASLOTPProfile.java 2001/10/31 00:32:38 1.6 --- SASLOTPProfile.java 2001/11/08 05:51:34 1.7 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: SequenceZeroFailure.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/SequenceZeroFailure.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** SequenceZeroFailure.java 2001/04/02 21:38:14 1.1 --- SequenceZeroFailure.java 2001/11/08 05:51:34 1.2 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, |
|
From: Huston F. <hu...@us...> - 2001-11-08 05:51:37
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/anonymous In directory usw-pr-cvs1:/tmp/cvs-serv13730/src/org/beepcore/beep/profile/sasl/anonymous Modified Files: AnonymousAuthenticator.java SASLAnonymousProfile.java Log Message: changed URL for BPL Index: AnonymousAuthenticator.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/anonymous/AnonymousAuthenticator.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** AnonymousAuthenticator.java 2001/10/31 00:32:37 1.10 --- AnonymousAuthenticator.java 2001/11/08 05:51:34 1.11 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: SASLAnonymousProfile.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/anonymous/SASLAnonymousProfile.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** SASLAnonymousProfile.java 2001/06/28 15:42:49 1.4 --- SASLAnonymousProfile.java 2001/11/08 05:51:34 1.5 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, |
|
From: Huston F. <hu...@us...> - 2001-11-08 05:51:37
|
Update of /cvsroot/beepcore-java/beepcore-java/example/org/beepcore/beep/example In directory usw-pr-cvs1:/tmp/cvs-serv13730/example/org/beepcore/beep/example Modified Files: Beepd.java Bing.java Log Message: changed URL for BPL Index: Beepd.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/example/org/beepcore/beep/example/Beepd.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** Beepd.java 2001/10/31 02:03:41 1.6 --- Beepd.java 2001/11/08 05:51:33 1.7 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: Bing.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/example/org/beepcore/beep/example/Bing.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** Bing.java 2001/11/08 03:59:37 1.7 --- Bing.java 2001/11/08 05:51:33 1.8 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, |
|
From: Huston F. <hu...@us...> - 2001-11-08 05:51:37
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl In directory usw-pr-cvs1:/tmp/cvs-serv13730/src/org/beepcore/beep/profile/sasl Modified Files: AuthenticationFailureException.java Blob.java ConfigurationException.java InvalidParameterException.java PeerAbortException.java SASLException.java SASLProfile.java SASLSessionTable.java Log Message: changed URL for BPL Index: AuthenticationFailureException.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/AuthenticationFailureException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** AuthenticationFailureException.java 2001/04/02 21:38:14 1.1 --- AuthenticationFailureException.java 2001/11/08 05:51:34 1.2 *************** *** 9,13 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 9,13 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: Blob.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/Blob.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** Blob.java 2001/07/30 13:04:35 1.3 --- Blob.java 2001/11/08 05:51:34 1.4 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: ConfigurationException.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/ConfigurationException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** ConfigurationException.java 2001/04/02 21:38:14 1.1 --- ConfigurationException.java 2001/11/08 05:51:34 1.2 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: InvalidParameterException.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/InvalidParameterException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** InvalidParameterException.java 2001/04/02 21:38:14 1.1 --- InvalidParameterException.java 2001/11/08 05:51:34 1.2 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: PeerAbortException.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/PeerAbortException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** PeerAbortException.java 2001/04/02 21:38:14 1.1 --- PeerAbortException.java 2001/11/08 05:51:34 1.2 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: SASLException.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/SASLException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** SASLException.java 2001/04/02 21:38:14 1.1 --- SASLException.java 2001/11/08 05:51:34 1.2 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: SASLProfile.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/SASLProfile.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** SASLProfile.java 2001/07/30 13:07:11 1.5 --- SASLProfile.java 2001/11/08 05:51:34 1.6 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: SASLSessionTable.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/SASLSessionTable.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** SASLSessionTable.java 2001/04/09 13:26:21 1.3 --- SASLSessionTable.java 2001/11/08 05:51:34 1.4 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, |
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core In directory usw-pr-cvs1:/tmp/cvs-serv13730/src/org/beepcore/beep/core Modified Files: AbortChannelException.java BEEPError.java BEEPException.java BEEPInterruptedException.java ByteDataStream.java Channel.java CloseChannelException.java Constants.java Frame.java InputDataStream.java Message.java MessageListener.java MessageMSG.java MessageStatus.java OutputDataStream.java ProfileRegistry.java ReplyListener.java Session.java SessionCredential.java SessionEvent.java SessionEventListener.java SessionTuningProperties.java StartChannelException.java StartChannelListener.java StartChannelProfile.java StringDataStream.java TuningProfile.java TuningResetException.java Log Message: changed URL for BPL Index: AbortChannelException.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/AbortChannelException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** AbortChannelException.java 2001/04/02 08:56:06 1.1 --- AbortChannelException.java 2001/11/08 05:51:34 1.2 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: BEEPError.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/BEEPError.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** BEEPError.java 2001/05/27 23:49:09 1.4 --- BEEPError.java 2001/11/08 05:51:34 1.5 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: BEEPException.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/BEEPException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** BEEPException.java 2001/04/02 08:56:06 1.1 --- BEEPException.java 2001/11/08 05:51:34 1.2 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: BEEPInterruptedException.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/BEEPInterruptedException.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** BEEPInterruptedException.java 2001/04/16 17:04:16 1.2 --- BEEPInterruptedException.java 2001/11/08 05:51:34 1.3 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: ByteDataStream.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/ByteDataStream.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** ByteDataStream.java 2001/10/31 00:32:37 1.4 --- ByteDataStream.java 2001/11/08 05:51:34 1.5 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: Channel.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/Channel.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -r1.16 -r1.17 *** Channel.java 2001/10/31 00:32:37 1.16 --- Channel.java 2001/11/08 05:51:34 1.17 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: CloseChannelException.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/CloseChannelException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** CloseChannelException.java 2001/04/02 08:56:06 1.1 --- CloseChannelException.java 2001/11/08 05:51:34 1.2 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: Constants.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/Constants.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** Constants.java 2001/05/27 23:49:09 1.3 --- Constants.java 2001/11/08 05:51:34 1.4 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: Frame.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/Frame.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** Frame.java 2001/10/31 00:32:37 1.10 --- Frame.java 2001/11/08 05:51:34 1.11 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: InputDataStream.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/InputDataStream.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** InputDataStream.java 2001/10/31 00:32:37 1.1 --- InputDataStream.java 2001/11/08 05:51:34 1.2 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: Message.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/Message.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** Message.java 2001/10/31 00:32:37 1.6 --- Message.java 2001/11/08 05:51:34 1.7 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: MessageListener.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/MessageListener.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** MessageListener.java 2001/10/31 00:32:37 1.4 --- MessageListener.java 2001/11/08 05:51:34 1.5 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: MessageMSG.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/MessageMSG.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** MessageMSG.java 2001/10/31 00:32:37 1.4 --- MessageMSG.java 2001/11/08 05:51:34 1.5 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: MessageStatus.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/MessageStatus.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** MessageStatus.java 2001/10/31 00:32:37 1.2 --- MessageStatus.java 2001/11/08 05:51:34 1.3 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: OutputDataStream.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/OutputDataStream.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** OutputDataStream.java 2001/10/31 00:32:37 1.1 --- OutputDataStream.java 2001/11/08 05:51:34 1.2 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: ProfileRegistry.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/ProfileRegistry.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** ProfileRegistry.java 2001/10/31 00:32:37 1.7 --- ProfileRegistry.java 2001/11/08 05:51:34 1.8 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: ReplyListener.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/ReplyListener.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** ReplyListener.java 2001/04/02 08:56:06 1.1 --- ReplyListener.java 2001/11/08 05:51:34 1.2 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: Session.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/Session.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -r1.16 -r1.17 *** Session.java 2001/10/31 00:32:37 1.16 --- Session.java 2001/11/08 05:51:34 1.17 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: SessionCredential.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/SessionCredential.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** SessionCredential.java 2001/06/18 19:27:24 1.3 --- SessionCredential.java 2001/11/08 05:51:34 1.4 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: SessionEvent.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/SessionEvent.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** SessionEvent.java 2001/04/16 17:05:20 1.2 --- SessionEvent.java 2001/11/08 05:51:34 1.3 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: SessionEventListener.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/SessionEventListener.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** SessionEventListener.java 2001/04/02 08:56:06 1.1 --- SessionEventListener.java 2001/11/08 05:51:34 1.2 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: SessionTuningProperties.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/SessionTuningProperties.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** SessionTuningProperties.java 2001/07/30 13:00:53 1.3 --- SessionTuningProperties.java 2001/11/08 05:51:34 1.4 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: StartChannelException.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/StartChannelException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** StartChannelException.java 2001/04/02 08:56:06 1.1 --- StartChannelException.java 2001/11/08 05:51:34 1.2 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: StartChannelListener.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/StartChannelListener.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** StartChannelListener.java 2001/06/28 15:42:49 1.2 --- StartChannelListener.java 2001/11/08 05:51:34 1.3 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: StartChannelProfile.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/StartChannelProfile.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** StartChannelProfile.java 2001/04/02 08:56:06 1.1 --- StartChannelProfile.java 2001/11/08 05:51:34 1.2 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: StringDataStream.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/StringDataStream.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** StringDataStream.java 2001/10/31 00:32:37 1.5 --- StringDataStream.java 2001/11/08 05:51:34 1.6 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: TuningProfile.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/TuningProfile.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** TuningProfile.java 2001/10/31 00:32:37 1.5 --- TuningProfile.java 2001/11/08 05:51:34 1.6 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: TuningResetException.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/TuningResetException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** TuningResetException.java 2001/04/02 08:56:06 1.1 --- TuningResetException.java 2001/11/08 05:51:34 1.2 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, |
|
From: Huston F. <hu...@us...> - 2001-11-08 05:51:37
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile In directory usw-pr-cvs1:/tmp/cvs-serv13730/src/org/beepcore/beep/profile Modified Files: Profile.java ProfileConfiguration.java Log Message: changed URL for BPL Index: Profile.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/Profile.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** Profile.java 2001/05/03 21:56:49 1.2 --- Profile.java 2001/11/08 05:51:34 1.3 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: ProfileConfiguration.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/ProfileConfiguration.java,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -r1.1.1.1 -r1.2 *** ProfileConfiguration.java 2001/04/02 08:45:28 1.1.1.1 --- ProfileConfiguration.java 2001/11/08 05:51:34 1.2 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, |
|
From: Huston F. <hu...@us...> - 2001-11-08 05:51:37
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/lib In directory usw-pr-cvs1:/tmp/cvs-serv13730/src/org/beepcore/beep/lib Modified Files: ChannelPool.java MessageQueue.java NullReplyListener.java Reply.java Log Message: changed URL for BPL Index: ChannelPool.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/lib/ChannelPool.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** ChannelPool.java 2001/10/31 00:32:37 1.4 --- ChannelPool.java 2001/11/08 05:51:34 1.5 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: MessageQueue.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/lib/MessageQueue.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** MessageQueue.java 2001/05/10 04:43:53 1.3 --- MessageQueue.java 2001/11/08 05:51:34 1.4 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: NullReplyListener.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/lib/NullReplyListener.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** NullReplyListener.java 2001/10/31 00:32:37 1.3 --- NullReplyListener.java 2001/11/08 05:51:34 1.4 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, Index: Reply.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/lib/Reply.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** Reply.java 2001/10/31 00:32:37 1.5 --- Reply.java 2001/11/08 05:51:34 1.6 *************** *** 8,12 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 8,12 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, |
|
From: Huston F. <hu...@us...> - 2001-11-08 05:51:37
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/echo In directory usw-pr-cvs1:/tmp/cvs-serv13730/src/org/beepcore/beep/profile/echo Modified Files: EchoProfile.java Log Message: changed URL for BPL Index: EchoProfile.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/echo/EchoProfile.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** EchoProfile.java 2001/11/08 04:00:11 1.10 --- EchoProfile.java 2001/11/08 05:51:34 1.11 *************** *** 7,11 **** * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 7,11 ---- * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, |
|
From: Huston F. <hu...@us...> - 2001-11-08 05:26:31
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/util In directory usw-pr-cvs1:/tmp/cvs-serv8121/org/beepcore/beep/util Modified Files: BufferSegment.java Log Message: Updated javadoc Index: BufferSegment.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/util/BufferSegment.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** BufferSegment.java 2001/10/31 00:32:38 1.1 --- BufferSegment.java 2001/11/08 05:26:29 1.2 *************** *** 1,2 **** --- 1,18 ---- + /* + * TCPSessionCreator.java $Revision$ $Date$ + * + * Copyright (c) 2001 Huston Franklin. All rights reserved. + * + * The contents of this file are subject to the Blocks Public License (the + * "License"); You may not use this file except in compliance with the License. + * + * You may obtain a copy of the License at http://www.beepcore.org/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + */ package org.beepcore.beep.util; |
|
From: Huston F. <hu...@us...> - 2001-11-08 05:26:31
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/transport/tcp In directory usw-pr-cvs1:/tmp/cvs-serv8121/org/beepcore/beep/transport/tcp Modified Files: TCPSession.java TCPSessionCreator.java Log Message: Updated javadoc Index: TCPSession.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/transport/tcp/TCPSession.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -r1.14 -r1.15 *** TCPSession.java 2001/11/08 03:59:37 1.14 --- TCPSession.java 2001/11/08 05:26:29 1.15 *************** *** 3,11 **** * * Copyright (c) 2001 Invisible Worlds, Inc. All rights reserved. * * The contents of this file are subject to the Blocks Public License (the * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 3,12 ---- * * Copyright (c) 2001 Invisible Worlds, Inc. All rights reserved. + * Copyright (c) 2001 Huston Franklin. All rights reserved. * * The contents of this file are subject to the Blocks Public License (the * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, *************** *** 42,50 **** /** ! * This class encapsulates the notion of a BEEP Session ( a relationship ! * between BEEP peers) that exists over a TCP (socket-based) connection. ! * Notice that I've set up properties for both the TCPSession class (statics) ! * and the instance itself. This may change, but for now it provides us ! * a general management facility with various degrees of granularity. * * @author Eric Dixon --- 43,47 ---- /** ! * Provides the TCP transport mapping for BEEP according to RFC 3081. * * @author Eric Dixon *************** *** 138,142 **** /** ! * Method initiate * * --- 135,140 ---- /** ! * Creates a TCPSession for a Socket that was created by ! * initiating a connection. * * *************** *** 156,160 **** /** ! * Method listen * * --- 154,159 ---- /** ! * Creates a TCPSession for a Socket that was created by ! * listening and accepting a connection. * * *************** *** 245,251 **** /** ! * Socket-level call to send a frame along a socket. Generates ! * a header, then writes the header, payload, and trailer to ! * the wire. * * @param f the Frame to send. --- 244,249 ---- /** ! * Generates a header, then writes the header, payload, and ! * trailer to the wire. * * @param f the Frame to send. *************** *** 328,349 **** /** ! * This method is designed to allow for flow control across the multiplexed ! * connection we have. The only subclass at present - TCPSession - ! * implements ! * a real version of it. The idea is to throttle data being sent over this ! * session to be manageable per Channel, so that a given Channel doesn't ! * take ! * up all the bandwidth. The Java implementation is constrained a bit by a ! * dependency on the Socket's get/setReceiveBufferSize calls. Because of ! * how we've designed the library, it's impossible for us to actually have ! * a socket during the greeting period, therefore, we use a default minimal ! * buffer size of 4k bytes in the initial SEQ frame. Once the constructor ! * for TCPSession has completed (the greeting has been sent) and we have ! * a real socket, then we attempt to set the buffer size based on the ! * definitions in <code>Constants</code>, and allow things to go. ! * ! * This method restricts the bufferSize, per the beep spec, to be at most ! * two-thirds of the socket's receiveBufferSize. If a size is requested ! * beyond that, an exception is thrown. * * --- 326,331 ---- /** ! * Update the channel window size with the remote peer by sending ! * SEQ frames as per RFC 3081. * * Index: TCPSessionCreator.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/transport/tcp/TCPSessionCreator.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** TCPSessionCreator.java 2001/11/08 03:59:37 1.4 --- TCPSessionCreator.java 2001/11/08 05:26:29 1.5 *************** *** 3,11 **** * * Copyright (c) 2001 Invisible Worlds, Inc. All rights reserved. * * The contents of this file are subject to the Blocks Public License (the * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.invisible.net/ * * Software distributed under the License is distributed on an "AS IS" basis, --- 3,12 ---- * * Copyright (c) 2001 Invisible Worlds, Inc. All rights reserved. + * Copyright (c) 2001 Huston Franklin. All rights reserved. * * The contents of this file are subject to the Blocks Public License (the * "License"); You may not use this file except in compliance with the License. * ! * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, *************** *** 36,49 **** * This class provides a means for applications or other libraries to create * a TCP-based BEEP Session with another BEEP peer. - * - * The Socket-based initiate and listen calls are in the - * <code>AutomatedTCPSessionFactory</code>. - * - * Opportunities for polymorphic factory methods are rampant here, depending - * upon how one wants to represent hosts, and whether helper objects - * (such as the dreaded profile manager concept) might be used as parameters - * in classes that extend this one. - * It is assumed that the callpath started here in Session Factory handles the - * Greeting exchange and so on, done either here or in the constructors. * * @author Eric Dixon --- 37,40 ---- |
|
From: Huston F. <hu...@us...> - 2001-11-08 04:00:15
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/echo
In directory usw-pr-cvs1:/tmp/cvs-serv21772/src/org/beepcore/beep/profile/echo
Modified Files:
EchoProfile.java
Log Message:
Removed reference to MessageQueue
Index: EchoProfile.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/echo/EchoProfile.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** EchoProfile.java 2001/10/31 00:32:37 1.9
--- EchoProfile.java 2001/11/08 04:00:11 1.10
***************
*** 23,27 ****
import org.beepcore.beep.core.*;
- import org.beepcore.beep.lib.MessageQueue;
import org.beepcore.beep.profile.*;
import org.beepcore.beep.util.*;
--- 23,26 ----
***************
*** 43,48 ****
public static final String ECHO_URI =
"http://xml.resource.org/profiles/NULL/ECHO";
-
- private MessageQueue messages = new MessageQueue();
public StartChannelListener init(String uri, ProfileConfiguration config)
--- 42,45 ----
|
|
From: Huston F. <hu...@us...> - 2001-11-08 03:59:40
|
Update of /cvsroot/beepcore-java/beepcore-java/example/org/beepcore/beep/example
In directory usw-pr-cvs1:/tmp/cvs-serv21487/example/org/beepcore/beep/example
Modified Files:
Bing.java
Log Message:
Made ProfileRegistry optional for TCPSessionCreator.initiate()
Index: Bing.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/example/org/beepcore/beep/example/Bing.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** Bing.java 2001/10/31 16:15:47 1.6
--- Bing.java 2001/11/08 03:59:37 1.7
***************
*** 62,69 ****
Session session;
try {
! // a empty ProfileRegistry is used since this application
! // isn't intended to listen for start channel requests.
! session = TCPSessionCreator.initiate(host, port,
! new ProfileRegistry());
} catch (BEEPException e) {
System.err.println("bing: Error connecting to " + host + ":" +
--- 62,66 ----
Session session;
try {
! session = TCPSessionCreator.initiate(host, port);
} catch (BEEPException e) {
System.err.println("bing: Error connecting to " + host + ":" +
|
|
From: Huston F. <hu...@us...> - 2001-11-08 03:59:40
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/transport/tcp
In directory usw-pr-cvs1:/tmp/cvs-serv21487/src/org/beepcore/beep/transport/tcp
Modified Files:
TCPSessionCreator.java TCPSession.java
Log Message:
Made ProfileRegistry optional for TCPSessionCreator.initiate()
Index: TCPSessionCreator.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/transport/tcp/TCPSessionCreator.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** TCPSessionCreator.java 2001/10/31 02:03:41 1.3
--- TCPSessionCreator.java 2001/11/08 03:59:37 1.4
***************
*** 67,78 ****
private static Hashtable listenerSockets = null;
- private static final int CHANNEL_START_ODD = 1;
- private static final int CHANNEL_START_EVEN = 2;
-
/**
* Method initiate
*
*
! * @param sock
* @param registry
*
--- 67,76 ----
private static Hashtable listenerSockets = null;
/**
* Method initiate
*
*
! * @param host
! * @param port
* @param registry
*
***************
*** 80,88 ****
*
*/
! public static TCPSession initiate(Socket sock, ProfileRegistry registry)
throws BEEPException
{
! return new TCPSession(sock, (ProfileRegistry) registry.clone(),
! CHANNEL_START_ODD, null, null, null);
}
--- 78,90 ----
*
*/
! public static TCPSession initiate(InetAddress host, int port)
throws BEEPException
{
! try {
! return TCPSession.createInitiator(new Socket(host, port),
! new ProfileRegistry());
! } catch (IOException x) {
! throw new BEEPException(x.getMessage());
! }
}
***************
*** 102,121 ****
throws BEEPException
{
-
- // Connect and create TCPSession with the socket
- Socket socket;
try {
! socket = new Socket(host, port);
} catch (IOException x) {
throw new BEEPException(x.getMessage());
}
-
- if (socket == null) {
- throw new BEEPException(ERR_TCP_SOCKET_FAILURE);
- }
-
- TCPSession t = TCPSessionCreator.initiate(socket, registry);
-
- return t;
}
--- 104,113 ----
throws BEEPException
{
try {
! return TCPSession.createInitiator(new Socket(host, port),
! registry);
} catch (IOException x) {
throw new BEEPException(x.getMessage());
}
}
***************
*** 132,141 ****
*
*/
! public static TCPSession initiate(String host, int port,
! ProfileRegistry registry)
throws BEEPException
{
try {
! return initiate(InetAddress.getByName(host), port, registry);
} catch (UnknownHostException x) {
throw new BEEPException("Unable to connect, unkown host");
--- 124,132 ----
*
*/
! public static TCPSession initiate(String host, int port)
throws BEEPException
{
try {
! return initiate(InetAddress.getByName(host), port);
} catch (UnknownHostException x) {
throw new BEEPException("Unable to connect, unkown host");
***************
*** 144,161 ****
/**
! * Method listen
*
*
! * @param sock
! * @param registry
*
* @throws BEEPException
*
*/
! public static TCPSession listen(Socket sock, ProfileRegistry registry)
! throws BEEPException
{
! return new TCPSession(sock, (ProfileRegistry) registry.clone(),
! CHANNEL_START_EVEN, null, null, null);
}
--- 135,158 ----
/**
! * Method initiate
*
*
! * @param host
! * @param port
! * @param profiles
! * @param ccls
*
* @throws BEEPException
*
*/
! public static TCPSession initiate(String host, int port,
! ProfileRegistry registry)
! throws BEEPException
{
! try {
! return initiate(InetAddress.getByName(host), port, registry);
! } catch (UnknownHostException x) {
! throw new BEEPException("Unable to connect, unkown host");
! }
}
***************
*** 224,228 ****
peer = socket.accept();
! return TCPSessionCreator.listen(peer, registry);
} catch (Exception e) {
throw new BEEPException(e.getMessage());
--- 221,225 ----
peer = socket.accept();
! return TCPSession.createListener(peer, registry);
} catch (Exception e) {
throw new BEEPException(e.getMessage());
***************
*** 246,250 ****
{
try {
- TCPSession temp = null;
InetAddress addr = null;
--- 243,246 ----
***************
*** 253,289 ****
}
! temp = listen(addr, port, registry);
!
! return temp;
} catch (UnknownHostException x) {
throw new BEEPException(x.getMessage());
}
- }
-
- /**
- * Accessible only from TCPSession (kinda slick)
- */
- static TCPSession initiate(Socket sock, ProfileRegistry registry,
- SessionCredential localCred,
- SessionCredential peerCred,
- SessionTuningProperties tuning)
- throws BEEPException
- {
- return new TCPSession(sock, (ProfileRegistry) registry.clone(),
- CHANNEL_START_ODD, localCred, peerCred, tuning);
- }
-
- /**
- * Accessible only from TCPSession (reset() specifically)
- */
- static TCPSession listen(Socket sock, ProfileRegistry registry,
- SessionCredential localCred,
- SessionCredential peerCred,
- SessionTuningProperties tuning)
- throws BEEPException
- {
- return new TCPSession(sock, (ProfileRegistry) registry.clone(),
- CHANNEL_START_EVEN, localCred, peerCred,
- tuning);
}
}
--- 249,256 ----
}
! return listen(addr, port, registry);
} catch (UnknownHostException x) {
throw new BEEPException(x.getMessage());
}
}
}
Index: TCPSession.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/transport/tcp/TCPSession.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** TCPSession.java 2001/10/31 00:32:38 1.13
--- TCPSession.java 2001/11/08 03:59:37 1.14
***************
*** 70,73 ****
--- 70,77 ----
private static final String CRLF = "\r\n";
+ private static final int CHANNEL_START_ODD = 1;
+ private static final int CHANNEL_START_EVEN = 2;
+
+
// Instance Data
// @todo had these per stack, but have
***************
*** 109,115 ****
* @throws BEEPException
*/
! TCPSession(Socket sock, ProfileRegistry registry, int firstChannel,
! SessionCredential localCred, SessionCredential peerCred,
! SessionTuningProperties tuning)
throws BEEPException
{
--- 113,119 ----
* @throws BEEPException
*/
! private TCPSession(Socket sock, ProfileRegistry registry, int firstChannel,
! SessionCredential localCred, SessionCredential peerCred,
! SessionTuningProperties tuning)
throws BEEPException
{
***************
*** 133,136 ****
--- 137,176 ----
}
+ /**
+ * Method initiate
+ *
+ *
+ * @param sock
+ * @param registry
+ *
+ * @throws BEEPException
+ *
+ */
+ public static TCPSession createInitiator(Socket sock,
+ ProfileRegistry registry)
+ throws BEEPException
+ {
+ return new TCPSession(sock, (ProfileRegistry) registry.clone(),
+ CHANNEL_START_ODD, null, null, null);
+ }
+
+ /**
+ * Method listen
+ *
+ *
+ * @param sock
+ * @param registry
+ *
+ * @throws BEEPException
+ *
+ */
+ public static TCPSession createListener(Socket sock,
+ ProfileRegistry registry)
+ throws BEEPException
+ {
+ return new TCPSession(sock, (ProfileRegistry) registry.clone(),
+ CHANNEL_START_EVEN, null, null, null);
+ }
+
// Overrides method in Session
public synchronized void close() throws BEEPException
***************
*** 279,287 ****
if (isInitiator()) {
! return TCPSessionCreator.initiate(s, reg, localCred, peerCred,
! tuning);
} else {
! return TCPSessionCreator.listen(s, reg, localCred, peerCred,
! tuning);
}
}
--- 319,327 ----
if (isInitiator()) {
! return new TCPSession(s, reg, CHANNEL_START_ODD,
! localCred, peerCred, tuning);
} else {
! return new TCPSession(s, reg, CHANNEL_START_EVEN,
! localCred, peerCred, tuning);
}
}
|
|
From: Huston F. <hu...@us...> - 2001-10-31 16:15:49
|
Update of /cvsroot/beepcore-java/beepcore-java/example/org/beepcore/beep/example
In directory usw-pr-cvs1:/tmp/cvs-serv5002/example/org/beepcore/beep/example
Modified Files:
Bing.java
Log Message:
Added error message
Index: Bing.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/example/org/beepcore/beep/example/Bing.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** Bing.java 2001/10/31 02:03:41 1.5
--- Bing.java 2001/10/31 16:15:47 1.6
***************
*** 18,24 ****
--- 18,26 ----
import java.io.InputStream;
+ import java.io.IOException;
import org.beepcore.beep.core.BEEPError;
import org.beepcore.beep.core.BEEPException;
+ import org.beepcore.beep.core.BEEPInterruptedException;
import org.beepcore.beep.core.Channel;
import org.beepcore.beep.core.InputDataStream;
***************
*** 90,98 ****
} catch (BEEPError e) {
if (e.getCode() == 550) {
! System.err.println("bing: Error host does not support echo " +
! "profile");
} else {
System.err.println("bing: Error starting channel (" +
! e.getCode() + ": " + e.getMessage() + ")");
}
return;
--- 92,101 ----
} catch (BEEPError e) {
if (e.getCode() == 550) {
! System.err.println("bing: Error host does not support " +
! "echo profile");
} else {
System.err.println("bing: Error starting channel (" +
! e.getCode() + ": " +
! e.getMessage() + ")");
}
return;
***************
*** 105,119 ****
String request = createRequest(size);
! try {
! for (int i=0; i<count; ++i) {
! long time;
! int replyLength = 0;
! Reply reply = new Reply();
! time = System.currentTimeMillis();
// Send the request
channel.sendMSG(new StringDataStream(request), reply);
// Get the reply to the request
InputDataStream ds = reply.getNextReply().getDataStream();
--- 108,128 ----
String request = createRequest(size);
! for (int i=0; i<count; ++i) {
! long time;
! int replyLength = 0;
! Reply reply = new Reply();
! time = System.currentTimeMillis();
+ try {
// Send the request
channel.sendMSG(new StringDataStream(request), reply);
+ } catch (BEEPException e) {
+ System.err.println("bing: Error sending request (" +
+ e.getMessage() + ")");
+ return;
+ }
+ try {
// Get the reply to the request
InputDataStream ds = reply.getNextReply().getDataStream();
***************
*** 125,142 ****
++replyLength;
}
!
! System.out.println("Reply from " + host + ": bytes=" +
! replyLength + " time=" +
! (System.currentTimeMillis() - time) +
! "ms");
}
! } catch (BEEPError e) {
! System.err.println("bing: Error sending request (" + e.getCode() +
! ": " + e.getMessage() + ")");
! return;
! } catch (Exception e) {
! System.err.println("bing: Error sending request (" +
! e.getMessage() + ")");
! return;
}
--- 134,151 ----
++replyLength;
}
! } catch (BEEPInterruptedException e) {
! System.err.println("bing: Error receiving reply (" +
! e.getMessage() + ")");
! return;
! } catch (IOException e) {
! System.err.println("bing: Error receiving reply (" +
! e.getMessage() + ")");
! return;
}
!
! System.out.println("Reply from " + host + ": bytes=" +
! replyLength + " time=" +
! (System.currentTimeMillis() - time) +
! "ms");
}
|
|
From: Huston F. <hu...@us...> - 2001-10-31 02:03:44
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/transport/tcp
In directory usw-pr-cvs1:/tmp/cvs-serv8025/src/org/beepcore/beep/transport/tcp
Modified Files:
TCPSessionCreator.java
Removed Files:
AutomatedTCPSessionCreator.java
Log Message:
Removed AutomatedTCPSessionCreator
Index: TCPSessionCreator.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/transport/tcp/TCPSessionCreator.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** TCPSessionCreator.java 2001/06/28 15:42:49 1.2
--- TCPSessionCreator.java 2001/10/31 02:03:41 1.3
***************
*** 18,22 ****
--- 18,29 ----
+ import java.io.IOException;
+
+ import java.net.InetAddress;
import java.net.Socket;
+ import java.net.ServerSocket;
+ import java.net.UnknownHostException;
+
+ import java.util.Hashtable;
import org.beepcore.beep.core.BEEPException;
***************
*** 47,54 ****
*/
public class TCPSessionCreator {
! protected static final int CHANNEL_START_ODD = 1;
! protected static final int CHANNEL_START_EVEN = 2;
/**
* Method initiate
--- 54,73 ----
*/
public class TCPSessionCreator {
+
+ // Constants
+ private static final int DEFAULT_TABLE_SIZE = 4;
+ private static final int DEFAULT_BACKLOG_SIZE = 100;
+ private static final String ERR_TCP_SOCKET_FAILURE =
+ "Unable to create a TCP socket";
+ private static final String ERR_BIND_FAILURE = "Bind Failed";
+ private static final String ERR_CONNECT_FAILURE = "Connect Failed";
+ private static final String ERR_LISTEN_FAILURE = "Accept Failed";
! // Data
! private static Hashtable listenerSockets = null;
+ private static final int CHANNEL_START_ODD = 1;
+ private static final int CHANNEL_START_EVEN = 2;
+
/**
* Method initiate
***************
*** 69,85 ****
/**
! * Accessible only from TCPSession (kinda slick)
*/
! static TCPSession initiate(Socket sock, ProfileRegistry registry,
! SessionCredential localCred,
! SessionCredential peerCred,
! SessionTuningProperties tuning)
throws BEEPException
{
! return new TCPSession(sock, (ProfileRegistry) registry.clone(),
! CHANNEL_START_ODD, localCred, peerCred, tuning);
}
/**
* Method listen
*
--- 88,147 ----
/**
! * Method initiate
! *
! *
! * @param host
! * @param port
! * @param registry
! *
! * @throws BEEPException
! *
*/
! public static TCPSession initiate(InetAddress host, int port,
! ProfileRegistry registry)
throws BEEPException
{
!
! // Connect and create TCPSession with the socket
! Socket socket;
! try {
! socket = new Socket(host, port);
! } catch (IOException x) {
! throw new BEEPException(x.getMessage());
! }
!
! if (socket == null) {
! throw new BEEPException(ERR_TCP_SOCKET_FAILURE);
! }
!
! TCPSession t = TCPSessionCreator.initiate(socket, registry);
!
! return t;
}
/**
+ * Method initiate
+ *
+ *
+ * @param host
+ * @param port
+ * @param profiles
+ * @param ccls
+ *
+ * @throws BEEPException
+ *
+ */
+ public static TCPSession initiate(String host, int port,
+ ProfileRegistry registry)
+ throws BEEPException
+ {
+ try {
+ return initiate(InetAddress.getByName(host), port, registry);
+ } catch (UnknownHostException x) {
+ throw new BEEPException("Unable to connect, unkown host");
+ }
+ }
+
+ /**
* Method listen
*
***************
*** 96,99 ****
--- 158,275 ----
return new TCPSession(sock, (ProfileRegistry) registry.clone(),
CHANNEL_START_EVEN, null, null, null);
+ }
+
+ /**
+ * Method listen
+ *
+ *
+ * @param port
+ * @param registry
+ *
+ * @throws BEEPException
+ *
+ */
+ public static TCPSession listen(int port, ProfileRegistry registry)
+ throws BEEPException
+ {
+ InetAddress temp = null;
+
+ return listen(temp, port, registry);
+ }
+
+ /**
+ * Method listen
+ *
+ *
+ * @param localInterface
+ * @param port
+ * @param registry
+ *
+ * @throws BEEPException
+ *
+ */
+ public static TCPSession listen(InetAddress localInterface, int port,
+ ProfileRegistry registry)
+ throws BEEPException
+ {
+ ServerSocket socket = null;
+ Socket peer = null;
+
+ if (listenerSockets == null) {
+ listenerSockets = new Hashtable(DEFAULT_TABLE_SIZE);
+ }
+
+ socket = (ServerSocket) listenerSockets.get(Integer.toString(port));
+
+ // Bind if we're not listening on this port
+ if (socket == null) {
+
+ // Bind to interface/port pair
+ try {
+ if (localInterface == null) {
+ socket = new ServerSocket(port, DEFAULT_BACKLOG_SIZE);
+ } else {
+ socket = new ServerSocket(port, DEFAULT_BACKLOG_SIZE,
+ localInterface);
+ }
+
+ listenerSockets.put(Integer.toString(port), socket);
+ } catch (Exception x) {
+ throw new BEEPException(x.getMessage());
+ }
+ }
+
+ // Listen
+ try {
+ peer = socket.accept();
+
+ return TCPSessionCreator.listen(peer, registry);
+ } catch (Exception e) {
+ throw new BEEPException(e.getMessage());
+ }
+ }
+
+ /**
+ * Method listen
+ *
+ *
+ * @param port
+ * @param registry
+ * @param localInterface
+ *
+ * @throws BEEPException
+ *
+ */
+ public static TCPSession listen(String localInterface, int port,
+ ProfileRegistry registry)
+ throws BEEPException
+ {
+ try {
+ TCPSession temp = null;
+ InetAddress addr = null;
+
+ if (localInterface != null) {
+ addr = InetAddress.getByName(localInterface);
+ }
+
+ temp = listen(addr, port, registry);
+
+ return temp;
+ } catch (UnknownHostException x) {
+ throw new BEEPException(x.getMessage());
+ }
+ }
+
+ /**
+ * Accessible only from TCPSession (kinda slick)
+ */
+ static TCPSession initiate(Socket sock, ProfileRegistry registry,
+ SessionCredential localCred,
+ SessionCredential peerCred,
+ SessionTuningProperties tuning)
+ throws BEEPException
+ {
+ return new TCPSession(sock, (ProfileRegistry) registry.clone(),
+ CHANNEL_START_ODD, localCred, peerCred, tuning);
}
--- AutomatedTCPSessionCreator.java DELETED ---
|
|
From: Huston F. <hu...@us...> - 2001-10-31 02:03:44
|
Update of /cvsroot/beepcore-java/beepcore-java/example/org/beepcore/beep/example
In directory usw-pr-cvs1:/tmp/cvs-serv8025/example/org/beepcore/beep/example
Modified Files:
Beepd.java Bing.java
Log Message:
Removed AutomatedTCPSessionCreator
Index: Beepd.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/example/org/beepcore/beep/example/Beepd.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** Beepd.java 2001/10/31 00:08:45 1.5
--- Beepd.java 2001/10/31 02:03:41 1.6
***************
*** 38,42 ****
import org.beepcore.beep.profile.Profile;
import org.beepcore.beep.profile.ProfileConfiguration;
! import org.beepcore.beep.transport.tcp.AutomatedTCPSessionCreator;
import org.beepcore.beep.util.ConsoleLog;
import org.beepcore.beep.util.Log;
--- 38,42 ----
import org.beepcore.beep.profile.Profile;
import org.beepcore.beep.profile.ProfileConfiguration;
! import org.beepcore.beep.transport.tcp.TCPSessionCreator;
import org.beepcore.beep.util.ConsoleLog;
import org.beepcore.beep.util.Log;
***************
*** 215,219 ****
// Loop listening for new Sessions
while (true) {
! AutomatedTCPSessionCreator.listen(port, reg);
}
} catch (Exception e) {
--- 215,219 ----
// Loop listening for new Sessions
while (true) {
! TCPSessionCreator.listen(port, reg);
}
} catch (Exception e) {
Index: Bing.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/example/org/beepcore/beep/example/Bing.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** Bing.java 2001/10/31 00:32:37 1.4
--- Bing.java 2001/10/31 02:03:41 1.5
***************
*** 29,33 ****
import org.beepcore.beep.profile.echo.EchoProfile;
import org.beepcore.beep.profile.tls.TLSProfile;
! import org.beepcore.beep.transport.tcp.AutomatedTCPSessionCreator;
import org.beepcore.beep.transport.tcp.TCPSession;
import org.beepcore.beep.util.ConsoleLog;
--- 29,33 ----
import org.beepcore.beep.profile.echo.EchoProfile;
import org.beepcore.beep.profile.tls.TLSProfile;
! import org.beepcore.beep.transport.tcp.TCPSessionCreator;
import org.beepcore.beep.transport.tcp.TCPSession;
import org.beepcore.beep.util.ConsoleLog;
***************
*** 62,68 ****
// a empty ProfileRegistry is used since this application
// isn't intended to listen for start channel requests.
! session =
! AutomatedTCPSessionCreator.initiate(host, port,
! new ProfileRegistry());
} catch (BEEPException e) {
System.err.println("bing: Error connecting to " + host + ":" +
--- 62,67 ----
// a empty ProfileRegistry is used since this application
// isn't intended to listen for start channel requests.
! session = TCPSessionCreator.initiate(host, port,
! new ProfileRegistry());
} catch (BEEPException e) {
System.err.println("bing: Error connecting to " + host + ":" +
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core In directory usw-pr-cvs1:/tmp/cvs-serv26961 Removed Files: DataListener.java DataStream.java FileDataStream.java FrameDataStream.java FrameListener.java InputStreamDataStream.java Log Message: no longer necessary --- DataListener.java DELETED --- --- DataStream.java DELETED --- --- FileDataStream.java DELETED --- --- FrameDataStream.java DELETED --- --- FrameListener.java DELETED --- --- InputStreamDataStream.java DELETED --- |
|
From: Huston F. <hu...@us...> - 2001-10-31 00:32:41
|
Update of /cvsroot/beepcore-java/beepcore-java/test/org/beepcore/beep/core In directory usw-pr-cvs1:/tmp/cvs-serv24137/test/org/beepcore/beep/core Modified Files: TestStringDataStream.java Added Files: TestInputDataStreamAdapter.java Log Message: New *DataStream --- NEW FILE: TestInputDataStreamAdapter.java --- /* * TestDataStream.java $Revision: 1.1 $ $Date: 2001/10/31 00:32:38 $ * * Copyright (c) 2001 Invisible Worlds, Inc. All rights reserved. * * The contents of this file are subject to the Blocks Public License (the * "License"); You may not use this file except in compliance with the License. * * You may obtain a copy of the License at http://www.beepcore.org/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License * for the specific language governing rights and limitations under the * License. * */ package org.beepcore.beep.core; import java.io.InputStream; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.Enumeration; import java.util.Hashtable; import org.beepcore.beep.util.BufferSegment; import junit.framework.*; public class TestInputDataStreamAdapter extends TestCase { protected InputDataStream data; protected static byte[] message; protected static int dataOffset = 0; protected static Hashtable headers = new Hashtable(); public TestInputDataStreamAdapter(String name) { super(name); } public void testAvailable() throws IOException { InputStream is = data.getInputStream(); assertEquals("is.available()", message.length - dataOffset, is.available()); } public void testRead() throws IOException { InputStream is = data.getInputStream(); for (int i=0; i < message.length - dataOffset; ++i) { assertEquals("is.available()", is.available(), message.length - dataOffset - i); assertEquals(//"Byte number: " + i + " did not match", ((byte) is.read()), message[dataOffset + i]); } assertEquals("is.available() != 0", 0, is.available()); } public void testReadArray() throws IOException { InputStream is = data.getInputStream(); byte[] b = new byte[is.available()]; int count = is.read(b); assertEquals("count == message.length - dataOffset", message.length - dataOffset, count); for (int i=0; i < message.length - dataOffset; ++i) { assertEquals(message[dataOffset + i], b[i]); } assertEquals("is.available() == 0", 0, is.available()); } public void testReadArrayWithOffsetAndLength() throws IOException { InputStream is = data.getInputStream(); byte[] b = new byte[is.available() + 10]; int count = is.read(b, 5, is.available()); assertEquals("count == message.length - dataOffset", message.length - dataOffset, count); for (int i=0; i < message.length - dataOffset; ++i) { assertEquals(//"Byte number: " + i + " did not match", message[dataOffset + i], b[i+5]); } assertEquals("is.available() == 0", 0, is.available()); } public void testPartialReadArray() throws IOException { InputStream is = data.getInputStream(); byte[] b = new byte[is.available()/2]; int count = is.read(b, 0, b.length); if (count != b.length) { assertEquals("count == message.length - dataOffset", message.length - dataOffset, count); } for (int i=0; i < count; ++i) { assertEquals(//"Byte number: " + i + " did not match", message[dataOffset + i], b[i]); } assertEquals("is.available() == message.length - dataOffset - count", message.length - dataOffset - count, is.available()); } public void testTwoPartialReadArray() throws IOException { InputStream is = data.getInputStream(); byte[] b = new byte[40]; int count = is.read(b, 0, Math.min(is.available(), b.length)/2); count += is.read(b, count, b.length - count); if (count != b.length) { assertEquals("count == message.length (" + message.length + ") - dataOffset (" + dataOffset + ")", message.length - dataOffset, count); } for (int i=0; i < b.length - dataOffset; ++i) { assertEquals("Byte number: " + i + " did not match", message[dataOffset + i], b[i]); } assertEquals("is.available() == message.length - dataOffset - count", message.length - dataOffset - count, is.available()); } public void testPartialReadArrayWithOffset() throws IOException { InputStream is = data.getInputStream(); byte[] b = new byte[is.available()/2]; int count = is.read(b, 5, b.length - 5); if (count != b.length - 5) { assertEquals("count == message.length - dataOffset - 5", message.length - dataOffset - 5, count); } for (int i=0; i < count - 5; ++i) { assertEquals(//"Byte number: " + i + " did not match", message[dataOffset + i], b[i+5]); } assertEquals("is.available() == message.length - dataOffset - count", message.length - dataOffset - count, is.available()); } public void testMarkAndReset() throws IOException { InputStream is = data.getInputStream(); if( is.markSupported() ) { byte[] b = new byte[20]; is.mark(b.length); int count = is.read(b); is.reset(); for (int i=0; i<count; ++i) { assertEquals("Byte number: " + i + " did not match", (byte) is.read(), b[i]); } for (int i=0; is.available() != 0; ++i) { assertEquals("Byte number: " + i + " did not match", message[dataOffset + b.length + i], (byte) is.read()); } } } public void testSkip() throws IOException { final int SKIP_AMOUNT = (message.length - dataOffset) / 2; InputStream is = data.getInputStream(); is.skip(SKIP_AMOUNT); byte[] b = new byte[20]; int count = is.read(b); for (int i=0; i < count; ++i) { assertEquals("Byte number: " + i + " did not match", message[dataOffset + SKIP_AMOUNT + i], b[i]); } } public void testHeaders() throws IOException, BEEPException { Enumeration e = data.getInputStream().getHeaderNames(); while (e.hasMoreElements()) { String name = (String)e.nextElement(); String header = data.getInputStream().getHeaderValue(name); String origHeader = (String)headers.get(name); assertEquals("Header: " + name + " values do not match (" + header + "!=" + origHeader + ")", origHeader, header); } if (!headers.containsKey(MimeHeaders.CONTENT_TYPE)) { assertEquals("Unexpected content type", MimeHeaders.DEFAULT_CONTENT_TYPE, data.getInputStream().getContentType()); } if (!headers.containsKey(MimeHeaders.CONTENT_TRANSFER_ENCODING)) { assertEquals("Unexpected transfer encoding", MimeHeaders.DEFAULT_CONTENT_TRANSFER_ENCODING, data.getInputStream().getTransferEncoding()); } } protected void setUp() throws UnsupportedEncodingException { int j = 0; int frameSize = 1400; data = new InputDataStream(); do { int len = Math.min(message.length -j, frameSize); data.add(new BufferSegment(message, j, len)); j += len; } while (j < message.length); data.setComplete(); } public static Test suite() { return new TestSuite(TestInputDataStreamAdapter.class); } public static void main (String[] args) { junit.textui.TestRunner.run (suite()); } static { headers.put(MimeHeaders.CONTENT_TYPE, MimeHeaders.DEFAULT_CONTENT_TYPE); headers.put(MimeHeaders.CONTENT_TRANSFER_ENCODING, MimeHeaders.DEFAULT_CONTENT_TRANSFER_ENCODING); char[] c = new char[60000]; c[0] = '\r'; c[1] = '\n'; c[2] = 'a'; for (int i = 3; i < c.length; ++i) { c[i] = (char) (c[i - 1] + 1); if (c[i] > 'z') { c[i] = 'a'; } } dataOffset = 2; // CRLF try { message = new String(c).getBytes("UTF-8"); } catch (UnsupportedEncodingException e) {} } } Index: TestStringDataStream.java =================================================================== RCS file: /cvsroot/beepcore-java/beepcore-java/test/org/beepcore/beep/core/TestStringDataStream.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** TestStringDataStream.java 2001/05/16 19:42:41 1.1 --- TestStringDataStream.java 2001/10/31 00:32:38 1.2 *************** *** 21,28 **** import java.io.UnsupportedEncodingException; import java.util.Enumeration; import junit.framework.*; ! public class TestStringDataStream extends TestDataStream { public TestStringDataStream(String name) { --- 21,35 ---- import java.io.UnsupportedEncodingException; import java.util.Enumeration; + import java.util.Hashtable; + import org.beepcore.beep.util.BufferSegment; + import junit.framework.*; ! public class TestStringDataStream extends TestCase { ! protected StringDataStream data; ! protected byte[] message; ! protected int dataOffset = 0; ! protected Hashtable headers = new Hashtable(); public TestStringDataStream(String name) { *************** *** 30,35 **** } ! public static void main (String[] args) { ! junit.textui.TestRunner.run (suite()); } --- 37,48 ---- } ! public void testGetNextSegment() { ! int i=0; ! while (data.isComplete() == false || data.availableSegment()) { ! BufferSegment b = data.getNextSegment(); ! for (int j=b.getOffset(); j < b.getOffset() + b.getLength(); ++j) { ! assertEquals((char)message[i++], (char)(b.getData()[j])); ! } ! } } *************** *** 45,61 **** data = new StringDataStream(s); ! data.setHeader( EH1, h1 ); ! data.setHeader( EH2, h2 ); ! data.setTransferEncoding( te ); ! ! headers.put( DataStream.CONTENT_TYPE, ! DataStream.BEEP_XML_CONTENT_TYPE ); ! headers.put( DataStream.CONTENT_TRANSFER_ENCODING, te ); ! headers.put( EH1, h1 ); ! headers.put( EH2, h2 ); StringBuffer messageBuffer = new StringBuffer(); ! messageBuffer.append(serializeHeaders()); dataOffset = messageBuffer.length(); --- 58,75 ---- data = new StringDataStream(s); ! data.setHeader(EH1, h1); ! data.setHeader(EH2, h2); ! data.setTransferEncoding(te); ! data.setContentType(MimeHeaders.BEEP_XML_CONTENT_TYPE); ! ! headers.put(MimeHeaders.CONTENT_TYPE, ! MimeHeaders.BEEP_XML_CONTENT_TYPE); ! headers.put(MimeHeaders.CONTENT_TRANSFER_ENCODING, te); ! headers.put(EH1, h1); ! headers.put(EH2, h2); StringBuffer messageBuffer = new StringBuffer(); ! messageBuffer.append(serializeHeaders(data.getHeaderNames(), headers)); dataOffset = messageBuffer.length(); *************** *** 65,71 **** --- 79,121 ---- } + private String serializeHeaders(Enumeration names, Hashtable headers) + throws BEEPException + { + StringBuffer buf = new StringBuffer(); + // Enumeration names = data.getHeaderNames(); + + while (names.hasMoreElements()) { + String name = (String) names.nextElement(); + String value = (String) headers.get(name); + + if ((name.equals(MimeHeaders.CONTENT_TYPE) && + value.equals(MimeHeaders.DEFAULT_CONTENT_TYPE)) || + (name.equals(MimeHeaders.CONTENT_TRANSFER_ENCODING) && + value.equals(MimeHeaders.DEFAULT_CONTENT_TRANSFER_ENCODING))) + { + + // these are default values that don't need to be added + // to the payload + continue; + } + + + buf.append(name); + buf.append(": "); + buf.append(value); + buf.append("\r\n"); + } + + buf.append("\r\n"); + + return buf.toString(); + } + public static Test suite() { return new TestSuite(TestStringDataStream.class); } + public static void main (String[] args) { + junit.textui.TestRunner.run (suite()); + } } |
|
From: Huston F. <hu...@us...> - 2001-10-31 00:32:41
|
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/transport/tcp
In directory usw-pr-cvs1:/tmp/cvs-serv24137/src/org/beepcore/beep/transport/tcp
Modified Files:
TCPSession.java
Log Message:
New *DataStream
Index: TCPSession.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/transport/tcp/TCPSession.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** TCPSession.java 2001/07/30 13:09:00 1.12
--- TCPSession.java 2001/10/31 00:32:38 1.13
***************
*** 37,40 ****
--- 37,41 ----
import org.beepcore.beep.core.SessionCredential;
import org.beepcore.beep.core.SessionTuningProperties;
+ import org.beepcore.beep.util.BufferSegment;
import org.beepcore.beep.util.Log;
***************
*** 127,131 ****
socket.setReceiveBufferSize(MAX_RECEIVE_BUFFER_SIZE);
} catch (Exception x) {
! Log.logEntry(Log.SEV_ERROR,
"Socket doesn't support setting receive buffer size");
}
--- 128,132 ----
socket.setReceiveBufferSize(MAX_RECEIVE_BUFFER_SIZE);
} catch (Exception x) {
! Log.logEntry(Log.SEV_DEBUG,
"Socket doesn't support setting receive buffer size");
}
***************
*** 234,244 ****
while (i.hasNext()) {
! Frame.BufferSegment b = (Frame.BufferSegment) i.next();
! os.write(b.data, b.offset, b.length);
if (Log.isLogged(Log.SEV_DEBUG_VERBOSE)) {
Log.logEntry(Log.SEV_DEBUG_VERBOSE, TCP_MAPPING,
! new String(b.data, b.offset, b.length));
}
}
--- 235,246 ----
while (i.hasNext()) {
! BufferSegment b = (BufferSegment) i.next();
! os.write(b.getData(), b.getOffset(), b.getLength());
if (Log.isLogged(Log.SEV_DEBUG_VERBOSE)) {
Log.logEntry(Log.SEV_DEBUG_VERBOSE, TCP_MAPPING,
! new String(b.getData(), b.getOffset(),
! b.getLength()));
}
}
***************
*** 337,340 ****
--- 339,343 ----
// @todo update the java-doc to correctly identify the params
+ /*
if (currentSeq > 0) { // don't send it the first time
if (((currentSeq - previouslySeq) < (bufferSize / 2))
***************
*** 343,346 ****
--- 346,350 ----
}
}
+ */
StringBuffer sb = new StringBuffer(Frame.MAX_HEADER_SIZE);
***************
*** 476,480 ****
}
! f.addPayload(new Frame.BufferSegment(payload));
super.postFrame(f);
--- 480,484 ----
}
! f.addPayload(new BufferSegment(payload));
super.postFrame(f);
|