hudson.plugins.active_directory
Class SocketInfo
java.lang.Object
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
host
public final java.lang.String host
port
public final int port
SocketInfo
public SocketInfo(java.lang.String host,
int port)
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.