hudson.plugins.active_directory
Class SocketInfo

java.lang.Object
  extended by hudson.plugins.active_directory.SocketInfo

public class SocketInfo
extends Object

Tuple of a socket endpoint. A pair of the host name and the TCP port number.

Author:
Kohsuke Kawaguchi

Field Summary
 String host
           
 int port
           
 
Constructor Summary
SocketInfo(String host, int port)
           
 
Method Summary
 Socket connect()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

host

public final String host

port

public final int port
Constructor Detail

SocketInfo

public SocketInfo(String host,
                  int port)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

connect

public Socket connect()
               throws IOException
Throws:
IOException


Copyright © 2004-2011. All Rights Reserved.