CVS: beepcore-java/src/org/beepcore/beep/profile/sasl/anonymous AnonymousAuthenticator.java,1.14,1.15 SASLAnonymousProfile.java,1.9,1.10
Huston Franklin <[email protected]> Tue, 10 Jun 2003 11:59:55 -0700
| Newsgroups | gmane.network.beep.beepcore.java.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/anonymous
In directory sc8-pr-cvs1:/tmp/cvs-serv21972/src/org/beepcore/beep/profile/sasl/anonymous
Modified Files:
AnonymousAuthenticator.java SASLAnonymousProfile.java
Log Message:
More interface cleanup, added RequestHandler to replace MessageListener.
Index: AnonymousAuthenticator.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/anonymous/AnonymousAuthenticator.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** AnonymousAuthenticator.java 23 Apr 2003 15:23:03 -0000 1.14
--- AnonymousAuthenticator.java 10 Jun 2003 18:59:22 -0000 1.15
***************
*** 3,6 ****
--- 3,7 ----
*
* Copyright (c) 2001 Invisible Worlds, Inc. All rights reserved.
+ * Copyright (c) 2003 Huston Franklin. All rights reserved.
*
* The contents of this file are subject to the Blocks Public License (the
***************
*** 48,52 ****
*/
class AnonymousAuthenticator
! implements MessageListener, ReplyListener {
// Constants
--- 49,53 ----
*/
class AnonymousAuthenticator
! implements RequestHandler, ReplyListener {
// Constants
***************
*** 132,136 ****
}
state = STATE_STARTED;
! ch.setMessageListener(this);
channel = ch;
}
--- 133,137 ----
}
state = STATE_STARTED;
! ch.setRequestHandler(this);
channel = ch;
}
***************
*** 278,282 ****
* @throws BEEPError if an ERR message is generated
*/
! public void receiveMSG(Message message) throws BEEPError
{
try
--- 279,283 ----
* @throws BEEPError if an ERR message is generated
*/
! public void receiveMSG(MessageMSG message)
{
try
Index: SASLAnonymousProfile.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/anonymous/SASLAnonymousProfile.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** SASLAnonymousProfile.java 23 Apr 2003 15:23:03 -0000 1.9
--- SASLAnonymousProfile.java 10 Jun 2003 18:59:22 -0000 1.10
***************
*** 3,6 ****
--- 3,7 ----
*
* Copyright (c) 2001 Invisible Worlds, Inc. All rights reserved.
+ * Copyright (c) 2003 Huston Franklin. All rights reserved.
*
* The contents of this file are subject to the Blocks Public License (the
***************
*** 217,223 ****
Channel ch = session.startChannel(SASLAnonymousProfile.uri,
! false, // true, ??
! new Blob(Blob.STATUS_NONE, id).toString(),
! null);
if ((ch.getStartData() != null)
--- 218,223 ----
Channel ch = session.startChannel(SASLAnonymousProfile.uri,
! false,
! new Blob(Blob.STATUS_NONE, id).toString());
if ((ch.getStartData() != null)
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.