|
JBoss EJB client 2.0.0.Beta4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.ejb.client.remoting.NetworkUtil
@Deprecated public class NetworkUtil
| Constructor Summary | |
|---|---|
NetworkUtil()
Deprecated. |
|
| Method Summary | |
|---|---|
static boolean |
belongsToNetwork(InetAddress address,
InetAddress networkAddress,
int networkMask)
Deprecated. Returns true if the passed address is part of the network represented by the passed networkAddress
and networkMask. |
static org.xnio.IoFuture<org.jboss.remoting3.Connection> |
connect(org.jboss.remoting3.Endpoint endpoint,
String protocol,
InetSocketAddress destination,
InetSocketAddress sourceBindAddress,
org.xnio.OptionMap connectionCreationOptions,
CallbackHandler callbackHandler,
SSLContext sslContext)
Deprecated. Returns a IoFuture to a Connection which is established to the destination host. |
static org.xnio.IoFuture<org.jboss.remoting3.Connection> |
connect(org.jboss.remoting3.Endpoint endpoint,
String protocol,
String destinationHost,
int destinationPort,
InetSocketAddress sourceBindAddress,
org.xnio.OptionMap connectionCreationOptions,
CallbackHandler callbackHandler,
SSLContext sslContext)
Deprecated. Returns a IoFuture to a Connection which is established to the destination host. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NetworkUtil()
| Method Detail |
|---|
public static boolean belongsToNetwork(InetAddress address,
InetAddress networkAddress,
int networkMask)
address is part of the network represented by the passed networkAddress
and networkMask. Else returns false
address - The address being checkednetworkAddress - The network addressnetworkMask - The network mask bits
public static org.xnio.IoFuture<org.jboss.remoting3.Connection> connect(org.jboss.remoting3.Endpoint endpoint,
String protocol,
String destinationHost,
int destinationPort,
InetSocketAddress sourceBindAddress,
org.xnio.OptionMap connectionCreationOptions,
CallbackHandler callbackHandler,
SSLContext sslContext)
throws IOException
IoFuture to a Connection which is established to the destination host.
This method takes care of any necessary formatting of the passed destinationHost in case
it's a IPv6 address.
endpoint - The Endpoint that will be used to establish the connectionprotocol - The protocol to usedestinationHost - The destination host to connect to. This can either be a host name or a IP addressdestinationPort - The destination port to connect to.sourceBindAddress - An optional source bind address to be used while connecting.connectionCreationOptions - The connection creations options to use while connectingcallbackHandler - The CallbackHandler to use for authenticating the connection creationsslContext - The SSL context to use for SSL connections. Can be null.
IOException
public static org.xnio.IoFuture<org.jboss.remoting3.Connection> connect(org.jboss.remoting3.Endpoint endpoint,
String protocol,
InetSocketAddress destination,
InetSocketAddress sourceBindAddress,
org.xnio.OptionMap connectionCreationOptions,
CallbackHandler callbackHandler,
SSLContext sslContext)
throws IOException
IoFuture to a Connection which is established to the destination host.
endpoint - The Endpoint that will be used to establish the connectionprotocol - The protocol to usedestination - The InetSocketAddress destination to connect tosourceBindAddress - An optional source bind address to be used while connecting.connectionCreationOptions - The connection creations options to use while connectingcallbackHandler - The CallbackHandler to use for authenticating the connection creationsslContext - The SSL context to use for SSL connections. Can be null.
IOException
|
JBoss EJB client 2.0.0.Beta4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||