org.apache.sshd.client
Class SshdSocketAddress

java.lang.Object
  extended by java.net.SocketAddress
      extended by org.apache.sshd.client.SshdSocketAddress
All Implemented Interfaces:
java.io.Serializable

public class SshdSocketAddress
extends java.net.SocketAddress

A simple socket address holding the host name and port number.

Author:
Apache MINA SSHD Project
See Also:
Serialized Form

Constructor Summary
SshdSocketAddress(java.lang.String hostName, int port)
           
 
Method Summary
 java.lang.String getHostName()
           
 int getPort()
           
 java.net.InetSocketAddress toInetSocketAddress()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SshdSocketAddress

public SshdSocketAddress(java.lang.String hostName,
                         int port)
Method Detail

getHostName

public java.lang.String getHostName()

getPort

public int getPort()

toInetSocketAddress

public java.net.InetSocketAddress toInetSocketAddress()


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.