hudson.plugins.active_directory
Class SocketInfo

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

public class SocketInfo
extends java.lang.Object

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

Author:
Kohsuke Kawaguchi

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

Field Detail

host

public final java.lang.String host

port

public final int port
Constructor Detail

SocketInfo

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

connect

public java.net.Socket connect()
                        throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.