KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > spi > transport > ORBSocketFactory


1 /*
2  * @(#)ORBSocketFactory.java 1.4 04/07/26
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.corba.se.spi.transport;
9
10 import java.io.IOException JavaDoc;
11 import java.net.InetSocketAddress JavaDoc;
12 import java.net.Socket JavaDoc;
13 import java.net.SocketException JavaDoc;
14 import java.net.ServerSocket JavaDoc;
15
16 import com.sun.corba.se.pept.transport.Acceptor;
17 import com.sun.corba.se.spi.orb.ORB;
18
19 /**
20  * @author Harold Carr
21  */

22 public interface ORBSocketFactory
23 {
24     public void setORB(ORB orb);
25
26     public ServerSocket JavaDoc createServerSocket(String JavaDoc type,
27                        InetSocketAddress JavaDoc inetSocketAddress)
28         throws IOException JavaDoc;
29
30     public Socket JavaDoc createSocket(String JavaDoc type,
31                    InetSocketAddress JavaDoc inetSocketAddress)
32         throws IOException JavaDoc;
33
34     public void setAcceptedSocketOptions(Acceptor acceptor,
35                      ServerSocket JavaDoc serverSocket,
36                      Socket JavaDoc socket)
37     throws SocketException JavaDoc;
38
39 }
40
41 // End of file.
42

43
Popular Tags