Har! More progress mateys.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// $Id: TestClient.java,v 1.1 2001/05/29 03:27:59 mdb Exp $
|
||||
|
||||
package com.samskivert.cocktail.cher.client.test;
|
||||
|
||||
import com.samskivert.cocktail.cher.net.*;
|
||||
import com.samskivert.cocktail.cher.client.*;
|
||||
|
||||
/**
|
||||
* A standalone test client.
|
||||
*/
|
||||
public class TestClient
|
||||
{
|
||||
public static void main (String[] args)
|
||||
{
|
||||
UsernamePasswordCreds creds =
|
||||
new UsernamePasswordCreds("test", "test");
|
||||
Client client = new Client(creds);
|
||||
client.setServer("localhost", 4007);
|
||||
client.logon();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user