More code, more code, more kibbles and code.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-05-23 04:03:41 +00:00
parent d865c89bee
commit 6717f8d6e5
14 changed files with 402 additions and 71 deletions
@@ -1,5 +1,5 @@
//
// $Id: UsernamePasswordCreds.java,v 1.2 2001/05/22 21:51:29 mdb Exp $
// $Id: UsernamePasswordCreds.java,v 1.3 2001/05/23 04:03:40 mdb Exp $
package com.samskivert.cocktail.cher.net;
@@ -36,6 +36,7 @@ public class UsernamePasswordCreds extends Credentials
public void writeTo (DataOutputStream out)
throws IOException
{
super.writeTo(out);
out.writeUTF(_username);
out.writeUTF(_password);
}
@@ -43,6 +44,7 @@ public class UsernamePasswordCreds extends Credentials
public void readFrom (DataInputStream in)
throws IOException
{
super.readFrom(in);
_username = in.readUTF();
_password = in.readUTF();
}