|
OpenNMS API 1.1.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.utils.SocketChannelUtil
Class to obtain a connected SocketChannel object.
| Constructor Summary | |
SocketChannelUtil()
|
|
| Method Summary | |
static java.nio.channels.SocketChannel |
getConnectedSocketChannel(java.net.InetAddress host,
int port,
int timeout)
This will attempt to connect to the passed host and port. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SocketChannelUtil()
| Method Detail |
public static java.nio.channels.SocketChannel getConnectedSocketChannel(java.net.InetAddress host,
int port,
int timeout)
throws java.io.IOException,
java.lang.InterruptedException
host - remote hostport - porttimeout - timeout (ms)
java.io.IOException
java.lang.InterruptedException
|
OpenNMS API 1.1.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||