|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.prosyst.util.net.PlainSocketFactory
public class PlainSocketFactory
| Constructor Summary | |
|---|---|
PlainSocketFactory()
|
|
| Method Summary | |
|---|---|
java.net.Socket |
openProxySocket(java.net.InetAddress address,
int port,
java.net.InetAddress proxy,
int pport)
Connects a socket through a proxy to address and port. |
java.net.Socket |
openProxySocket(java.net.InetAddress address,
int port,
java.net.InetAddress proxy,
int pport,
java.util.Dictionary dict)
Connects a socket through a proxy to address and port. |
java.net.Socket |
openProxySocket(java.net.InetAddress address,
int port,
java.net.InetAddress localAddr,
int localPort,
java.net.InetAddress proxy,
int pport)
Connects a socket through a proxy from localAddr and localPort ( multi IP machines) |
java.net.Socket |
openProxySocket(java.net.InetAddress address,
int port,
java.net.InetAddress localAddr,
int localPort,
java.net.InetAddress proxy,
int pport,
java.util.Dictionary dict)
Connects a socket through a proxy from localAddr and localPort ( multi IP machines) |
java.net.Socket |
openProxySocket(java.lang.String host,
int port,
java.net.InetAddress proxy,
int pport)
Connects a socket using a proxy, specified by proxy and pport to the host, defined by host and port. |
java.net.Socket |
openProxySocket(java.lang.String host,
int port,
java.net.InetAddress proxy,
int pport,
java.util.Dictionary dict)
|
java.net.Socket |
openProxySocket(java.lang.String host,
int port,
java.net.InetAddress localAddr,
int localPort,
java.net.InetAddress proxy,
int pport)
Connects a socket using a proxy from the local address (localAddr, localPort) to the remote address (host, port). |
java.net.Socket |
openProxySocket(java.lang.String host,
int port,
java.net.InetAddress localAddr,
int localPort,
java.net.InetAddress proxy,
int pport,
java.util.Dictionary dict)
|
java.net.ServerSocket |
openServerSocket(int port)
Returns a ServerSocket bound to the specified port. |
java.net.ServerSocket |
openServerSocket(int port,
java.util.Dictionary dict)
Returns a ServerSocket bound to the specified port. |
java.net.ServerSocket |
openServerSocket(int port,
int backlog)
Returns a ServerSocket bound to the specified port with maximum number of waiting connections backlog. |
java.net.ServerSocket |
openServerSocket(int port,
int backlog,
java.util.Dictionary dict)
Returns a ServerSocket binded to the specified port with maximum number of waiting to be accepted connections backlog. |
java.net.ServerSocket |
openServerSocket(int port,
int backlog,
java.net.InetAddress bindAddress)
Returns a ServerSocket bound to the specified port and bindAddress ( for multi IP machines )with maximum number of connections backlog |
java.net.ServerSocket |
openServerSocket(int port,
int backlog,
java.net.InetAddress bindAddress,
java.util.Dictionary dict)
Returns a ServerSocket bound to the specified port and bindAddress ( for multi IP machines ) with maximum number of connections backlog. |
java.net.Socket |
openSocket(java.net.InetAddress address,
int port)
Opens a Socket and binds it to the remote address and port. |
java.net.Socket |
openSocket(java.net.InetAddress address,
int port,
java.util.Dictionary dict)
Opens a Socket and binds it to the remote address and port. |
java.net.Socket |
openSocket(java.net.InetAddress address,
int port,
java.net.InetAddress localAddr,
int localPort)
Opens a Socket and binds it to the remote address and port from localAddr and localPort ( multi IP machines). |
java.net.Socket |
openSocket(java.net.InetAddress address,
int port,
java.net.InetAddress localAddr,
int localPort,
java.util.Dictionary dict)
Opens a Socket and binds it to address and port from localAddr and localPort ( multi IP machines). |
java.net.Socket |
openSocket(java.lang.String host,
int port)
Same as openSocket( InetAddress address, int port) but performs InetAddress.getByName(host) to obtain the address. |
java.net.Socket |
openSocket(java.lang.String host,
int port,
java.util.Dictionary dict)
Same as openSocket( InetAddress address, int port) but performs InetAddress.getByName(host) to obtain the address. |
java.net.Socket |
openSocket(java.lang.String host,
int port,
java.net.InetAddress localAddr,
int localPort)
Same as openSocket(InetAddress address, int port, InetAddress localAddr, int localPort) but performs InetAddress.getByName(host) to obtain the address. |
java.net.Socket |
openSocket(java.lang.String host,
int port,
java.net.InetAddress localAddr,
int localPort,
java.util.Dictionary dict)
Same as openSocket(InetAddress address, int port, InetAddress localAddr, int localPort) but performs InetAddress.getByName(host) to obtain the address. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlainSocketFactory()
| Method Detail |
|---|
public java.net.Socket openSocket(java.net.InetAddress address,
int port)
throws java.io.IOException
SocketFactory
openSocket in interface SocketFactoryaddress - remote address to bind the socket toport - remote port to bind the socket to
java.io.IOException - If an I/O error occurs.
public java.net.Socket openSocket(java.net.InetAddress address,
int port,
java.util.Dictionary dict)
throws java.io.IOException
SocketFactory
openSocket in interface SocketFactoryaddress - remote address to bind the socket toport - remote port to bind the socket todict - socket properties.
Sockets can be customized via these properties.
See SocketFactory implementation documentation for details on how to use these props.
java.io.IOException - If an I/O error occurs.
public java.net.Socket openSocket(java.net.InetAddress address,
int port,
java.net.InetAddress localAddr,
int localPort)
throws java.io.IOException
SocketFactory
openSocket in interface SocketFactoryaddress - remote address to bind the socket toport - remote port to bind the socket tolocalAddr - local address to bind the socket fromlocalPort - local port to bind the socket from
java.io.IOException - If an I/O error occurs.
public java.net.Socket openSocket(java.net.InetAddress address,
int port,
java.net.InetAddress localAddr,
int localPort,
java.util.Dictionary dict)
throws java.io.IOException
SocketFactory
openSocket in interface SocketFactoryaddress - remote address to bind the socket toport - remote port to bind the socket tolocalAddr - local address to bind the socket fromlocalPort - local port to bind the socket fromdict - socket properties.
Sockets can be customized via these properties.
See SocketFactory implementation documentation for details on how to use these props.
java.io.IOException - If an I/O error occurs.
public java.net.Socket openSocket(java.lang.String host,
int port)
throws java.io.IOException
SocketFactory
openSocket in interface SocketFactoryport - remote port to bind the socket to
java.io.IOException - If an I/O error occurs.
public java.net.Socket openSocket(java.lang.String host,
int port,
java.util.Dictionary dict)
throws java.io.IOException
SocketFactory
openSocket in interface SocketFactoryport - remote port to bind the socket todict - socket properties.
Sockets can be customized via these properties.
See SocketFactory implementation documentation for details on how to use these props.
java.io.IOException - If an I/O error occurs.
public java.net.Socket openSocket(java.lang.String host,
int port,
java.net.InetAddress localAddr,
int localPort)
throws java.io.IOException
SocketFactory
openSocket in interface SocketFactoryport - remote port to bind the socket tolocalAddr - local address to bind the socket fromlocalPort - local port to bind the socket from
java.io.IOException - If an I/O error occurs.
public java.net.Socket openSocket(java.lang.String host,
int port,
java.net.InetAddress localAddr,
int localPort,
java.util.Dictionary dict)
throws java.io.IOException
SocketFactory
openSocket in interface SocketFactoryport - remote port to bind the socket tolocalAddr - local address to bind the socket fromlocalPort - local port to bind the socket fromdict - socket properties.
Sockets can be customized via these properties.
See SocketFactory implementation documentation for details on how to use these props.
java.io.IOException - If an I/O error occurs.
public java.net.ServerSocket openServerSocket(int port)
throws java.io.IOException
ServerSocketFactory
openServerSocket in interface ServerSocketFactoryport - port to bind the ServerSocket to.
java.io.IOException - if ServerSocket can not be opened.
A reason may be that port is busy.
public java.net.ServerSocket openServerSocket(int port,
java.util.Dictionary dict)
throws java.io.IOException
ServerSocketFactory
openServerSocket in interface ServerSocketFactoryport - port to bind the ServerSocket to.dict - socket properties.
ServerSockets can be customized via these properties.
See ServerSocketFactory implementation documentation
for details on how to use these properties.
java.io.IOException - if an I/O error occurs when opening the socket.
public java.net.ServerSocket openServerSocket(int port,
int backlog)
throws java.io.IOException
ServerSocketFactorybacklog.
openServerSocket in interface ServerSocketFactoryport - port to bind the ServerSocket to.backlog - the maximum length of the queue.
java.io.IOException - if an I/O error occurs when opening the socket.
public java.net.ServerSocket openServerSocket(int port,
int backlog,
java.util.Dictionary dict)
throws java.io.IOException
ServerSocketFactorybacklog.
openServerSocket in interface ServerSocketFactoryport - port to bind the ServerSocket to.backlog - the maximum length of the queue.dict - socket properties.
ServerSockets can be customized via these properties.
See ServerSocketFactory implementation documentation
for details on how to use these properties.
java.io.IOException - if an I/O error occurs when opening the socket.
public java.net.ServerSocket openServerSocket(int port,
int backlog,
java.net.InetAddress bindAddress)
throws java.io.IOException
ServerSocketFactory
openServerSocket in interface ServerSocketFactoryport - port to bind the ServerSocket to.backlog - the maximum length of the queue.
java.io.IOException - if an I/O error occurs when opening the socket.
public java.net.ServerSocket openServerSocket(int port,
int backlog,
java.net.InetAddress bindAddress,
java.util.Dictionary dict)
throws java.io.IOException
ServerSocketFactory
openServerSocket in interface ServerSocketFactoryport - port to bind the ServerSocket to.backlog - the maximum length of the queue.dict - socket properties.
ServerSockets can be customized via these properties.
See ServerSocketFactory implementation documentation
for details on how to use these properties.
java.io.IOException - if an I/O error occurs when opening the socket.
public java.net.Socket openProxySocket(java.net.InetAddress address,
int port,
java.net.InetAddress proxy,
int pport)
throws java.io.IOException
SocketFactory
openProxySocket in interface SocketFactoryaddress - remote address to bind the socket toport - remote port to bind the socket toproxy - the address of the proxypport - the port of the proxy
java.io.IOException - If an I/O error occurs.
public java.net.Socket openProxySocket(java.net.InetAddress address,
int port,
java.net.InetAddress proxy,
int pport,
java.util.Dictionary dict)
throws java.io.IOException
SocketFactory
openProxySocket in interface SocketFactoryaddress - remote address to bind the socket toport - remote port to bind the socket toproxy - the address of the proxypport - the port of the proxydict - socket properties.
Sockets can be customized via these properties.
See SocketFactory implementation documentation for details on how to use these props.
java.io.IOException - If an I/O error occurs.
public java.net.Socket openProxySocket(java.net.InetAddress address,
int port,
java.net.InetAddress localAddr,
int localPort,
java.net.InetAddress proxy,
int pport)
throws java.io.IOException
SocketFactory
openProxySocket in interface SocketFactoryaddress - remote address to bind the socket toport - remote port to bind the socket tolocalAddr - local address to bind the socket fromlocalPort - local port to bind the socket fromproxy - the address of the proxypport - the port of the proxy
java.io.IOException - If an I/O error occurs.
public java.net.Socket openProxySocket(java.net.InetAddress address,
int port,
java.net.InetAddress localAddr,
int localPort,
java.net.InetAddress proxy,
int pport,
java.util.Dictionary dict)
throws java.io.IOException
SocketFactory
openProxySocket in interface SocketFactoryaddress - remote address to bind the socket toport - remote port to bind the socket tolocalAddr - local address to bind the socket fromlocalPort - local port to bind the socket fromproxy - the address of the proxypport - the port of the proxydict - socket properties.
Sockets can be customized via these properties.
See SocketFactory implementation documentation for details on how to use these props.
java.io.IOException - If an I/O error occurs.
public java.net.Socket openProxySocket(java.lang.String host,
int port,
java.net.InetAddress proxy,
int pport)
throws java.io.IOException
SocketFactory
openProxySocket in interface SocketFactoryhost - remote host to bind the socket toport - remote port to bind the socket toproxy - the address of the proxypport - the port of the proxy
java.io.IOException - If an I/O error occurs.
public java.net.Socket openProxySocket(java.lang.String host,
int port,
java.net.InetAddress proxy,
int pport,
java.util.Dictionary dict)
throws java.io.IOException
openProxySocket in interface SocketFactoryhost - remote host to bind the socket toport - remote port to bind the socket toproxy - the address of the proxypport - the port of the proxydict - socket properties.
Sockets can be customized via these properties.
See SocketFactory implementation documentation for details on how to use these props.
java.io.IOException - If an I/O error occurs.SocketFactory.openProxySocket(String host, int port, InetAddress proxy, int pport)
public java.net.Socket openProxySocket(java.lang.String host,
int port,
java.net.InetAddress localAddr,
int localPort,
java.net.InetAddress proxy,
int pport)
throws java.io.IOException
SocketFactory
openProxySocket in interface SocketFactoryhost - remote host to bind the socket toport - remote port to bind the socket tolocalAddr - local address to bind the socket fromlocalPort - local port to bind the socket fromproxy - the address of the proxypport - the port of the proxy
java.io.IOException - If an I/O error occurs.
public java.net.Socket openProxySocket(java.lang.String host,
int port,
java.net.InetAddress localAddr,
int localPort,
java.net.InetAddress proxy,
int pport,
java.util.Dictionary dict)
throws java.io.IOException
openProxySocket in interface SocketFactoryhost - remote host to bind the socket toport - remote port to bind the socket tolocalAddr - local address to bind the socket fromlocalPort - local port to bind the socket fromproxy - the address of the proxypport - the port of the proxydict - socket properties.
Sockets can be customized via these properties.
See SocketFactory implementation documentation for details on how to use these props.
java.io.IOException - If an I/O error occurs.SocketFactory.openProxySocket(String host, int port, InetAddress localAddr, int localPort, InetAddress proxy, int pport)
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||