1 7 8 package com.sun.corba.se.spi.transport; 9 10 import java.io.IOException ; 11 import java.net.InetSocketAddress ; 12 import java.net.Socket ; 13 import java.net.SocketException ; 14 import java.net.ServerSocket ; 15 16 import com.sun.corba.se.pept.transport.Acceptor; 17 import com.sun.corba.se.spi.orb.ORB; 18 19 22 public interface ORBSocketFactory 23 { 24 public void setORB(ORB orb); 25 26 public ServerSocket createServerSocket(String type, 27 InetSocketAddress inetSocketAddress) 28 throws IOException ; 29 30 public Socket createSocket(String type, 31 InetSocketAddress inetSocketAddress) 32 throws IOException ; 33 34 public void setAcceptedSocketOptions(Acceptor acceptor, 35 ServerSocket serverSocket, 36 Socket socket) 37 throws SocketException ; 38 39 } 40 41 43 | Popular Tags |