Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/anonymous
In directory usw-pr-cvs1:/tmp/cvs-serv17519/src/org/beepcore/beep/profile/sasl/anonymous
Modified Files:
AnonymousAuthenticator.java
Log Message:
Rename Byte/StringDataStream to Byte/StringOutputDataStream
Index: AnonymousAuthenticator.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/anonymous/AnonymousAuthenticator.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** AnonymousAuthenticator.java 2001/11/08 05:51:34 1.11
--- AnonymousAuthenticator.java 2001/11/10 21:33:29 1.12
***************
*** 211,215 ****
try {
credential.put(SessionCredential.AUTHENTICATOR, authenticateId);
! channel.sendMSG(new StringDataStream(blob.toString()), this);
} catch (Exception x) {
abort(x.getMessage());
--- 211,215 ----
try {
credential.put(SessionCredential.AUTHENTICATOR, authenticateId);
! channel.sendMSG(new StringOutputDataStream(blob.toString()), this);
} catch (Exception x) {
abort(x.getMessage());
***************
*** 315,319 ****
try {
Blob reply = receiveID(data);
! message.sendRPY(new StringDataStream(reply.toString()));
} catch (BEEPException x) {
abort(x.getMessage());
--- 315,319 ----
try {
Blob reply = receiveID(data);
! message.sendRPY(new StringOutputDataStream(reply.toString()));
} catch (BEEPException x) {
abort(x.getMessage());
***************
*** 331,335 ****
{
Blob reply = new Blob(Blob.STATUS_ABORT, s.getMessage());
! message.sendRPY(new StringDataStream(reply.toString()));
}
catch(BEEPException t)
--- 331,335 ----
{
Blob reply = new Blob(Blob.STATUS_ABORT, s.getMessage());
! message.sendRPY(new StringOutputDataStream(reply.toString()));
}
catch(BEEPException t)
***************
*** 414,418 ****
if(sendAbort) {
Blob reply = new Blob(Blob.STATUS_ABORT, x.getMessage());
! channel.sendMSG(new StringDataStream(blob.toString()),
this);
}
--- 414,418 ----
if(sendAbort) {
Blob reply = new Blob(Blob.STATUS_ABORT, x.getMessage());
! channel.sendMSG(new StringOutputDataStream(blob.toString()),
this);
}
|