view test/ConnectToSessionManager.java @ 161:5b4be02e7243

*** empty log message ***
author kono
date Thu, 28 Aug 2008 16:54:47 +0900
parents 291c62984ba0
children
line wrap: on
line source

package test;

import rep.REPCommand;
import rep.net.REPNet;

public class ConnectToSessionManager {
	private REPNet rnet;
	
	public static void main(String[] args){
		ConnectToSessionManager test = new ConnectToSessionManager();
		test.sm_join("localhost");
	}

	public void sm_join(String host){
		rnet = new REPNet();
		rnet.sm_connect(host, 8765);
		rnet.send(REPCommand.SMCMD_SESSION_JOIN);
	}

}