org.xnap.net
Class NetHelper.SocketConnector

java.lang.Object
  extended by org.xnap.net.NetHelper.SocketConnector
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
NetHelper

public static class NetHelper.SocketConnector
extends java.lang.Object
implements java.lang.Runnable


Constructor Summary
NetHelper.SocketConnector(java.lang.String host, int port)
           
 
Method Summary
 java.net.Socket getSocket(long timeout)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetHelper.SocketConnector

public NetHelper.SocketConnector(java.lang.String host,
                                 int port)
Method Detail

getSocket

public java.net.Socket getSocket(long timeout)
                          throws java.io.IOException
Throws:
java.io.IOException

run

public void run()
Specified by:
run in interface java.lang.Runnable


Copyright © 2001-2005 XNap Team. All Rights Reserved.