diff test/channeltest/testSeMa.java @ 161:5b4be02e7243

*** empty log message ***
author kono
date Thu, 28 Aug 2008 16:54:47 +0900
parents f0d80a64aba0
children be2c1a1e9b8d
line wrap: on
line diff
--- a/test/channeltest/testSeMa.java	Thu Aug 28 16:53:12 2008 +0900
+++ b/test/channeltest/testSeMa.java	Thu Aug 28 16:54:47 2008 +0900
@@ -10,8 +10,6 @@
 import rep.channel.REPSelector;
 import rep.channel.REPServerSocketChannel;
 import rep.channel.REPSocketChannel;
-import sun.nio.ch.SocketOpts.IP;
-
 
 public class testSeMa extends Thread{
 
@@ -20,10 +18,10 @@
 	REPLogger ns;
 	LinkedList<REPSocketChannel<String>> channels;
 	
-	public testSeMa(REPLogger _ns, String name, String host, int port){
+	public testSeMa(String name, String host, int port){
 		super(name);
 		IP = new InetSocketAddress(host,port);
-		ns = _ns;
+		ns = testNetworkSimulator.ns;
 		channels = new LinkedList<REPSocketChannel<String>>();
 	}
 	public void init(){