|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
basic interface to the network layer
Method Summary | |
DatagramSocket |
createDatagramSocket()
Constructs a datagram socket and binds it to any available port on the local host machine. |
DatagramSocket |
createDatagramSocket(int port,
InetAddress laddr)
Creates a datagram socket, bound to the specified local address. |
ServerSocket |
createServerSocket(int port,
int backlog,
InetAddress bindAddress)
Creates a server with the specified port, listen backlog, and local IP address to bind to. |
Socket |
createSocket(InetAddress address,
int port)
Creates a stream socket and connects it to the specified port number at the specified IP address. |
Socket |
createSocket(InetAddress address,
int port,
InetAddress localAddress)
Creates a stream socket and connects it to the specified port number at the specified IP address. |
SSLServerSocket |
createSSLServerSocket(int port,
int backlog,
InetAddress bindAddress)
Creates an SSL server with the specified port, listen backlog, and local IP address to bind to. |
SSLSocket |
createSSLSocket(InetAddress address,
int port)
Creates a stream SSL socket and connects it to the specified port number at the specified IP address. |
SSLSocket |
createSSLSocket(InetAddress address,
int port,
InetAddress localAddress)
Creates a stream SSL socket and connects it to the specified port number at the specified IP address. |
Method Detail |
public ServerSocket createServerSocket(int port, int backlog, InetAddress bindAddress) throws IOException
port
- backlog
- bindAddress
-
IOException
public SSLServerSocket createSSLServerSocket(int port, int backlog, InetAddress bindAddress) throws IOException
port
- backlog
- bindAddress
-
IOException
public Socket createSocket(InetAddress address, int port) throws IOException
address
- port
-
IOException
public Socket createSocket(InetAddress address, int port, InetAddress localAddress) throws IOException
address
- port
- localAddress
-
IOException
public SSLSocket createSSLSocket(InetAddress address, int port) throws IOException
address
- port
-
IOException
public SSLSocket createSSLSocket(InetAddress address, int port, InetAddress localAddress) throws IOException
address
- port
- localAddress
- -- my address.
IOException
public DatagramSocket createDatagramSocket() throws SocketException
SocketException
public DatagramSocket createDatagramSocket(int port, InetAddress laddr) throws SocketException
port
- laddr
-
SocketException
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |