Code example for InetSocketAddress

Methods: getPort

0
import org.d3.actor.Protocol; 
 
public class ClassLoaderProtocol extends Protocol { 
 
	public ClassLoaderProtocol(InetSocketAddress address) throws IOException {
		super("cl", Integer.toString(address.getPort()), address);
	} 
 
	public void listen() { 
		// TODO Auto-generated method stub 
 
	} 
 
}