1 8 package org.codehaus.spice.netserve.sockets; 9 10 import java.io.IOException ; 11 import java.net.InetAddress ; 12 import java.net.Socket ; 13 14 23 public interface SocketFactory 24 { 25 33 Socket createSocket( InetAddress address, int port ) 34 throws IOException ; 35 36 47 Socket createSocket( InetAddress address, int port, 48 InetAddress localAddress, int localPort ) 49 throws IOException ; 50 } 51 | Popular Tags |