org.mobicents.servlet.sip.core
Class HopImpl

java.lang.Object
  extended by org.mobicents.servlet.sip.core.HopImpl
All Implemented Interfaces:
javax.sip.address.Hop

public class HopImpl
extends java.lang.Object
implements javax.sip.address.Hop

Hop implementation

Author:
Jean Deruelle

Constructor Summary
HopImpl(java.lang.String host, int port, java.lang.String transport)
           
 
Method Summary
 java.lang.String getHost()
           
 int getPort()
           
 java.lang.String getTransport()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.sip.address.Hop
toString
 

Constructor Detail

HopImpl

public HopImpl(java.lang.String host,
               int port,
               java.lang.String transport)
Parameters:
host -
port -
transport -
Method Detail

getHost

public java.lang.String getHost()
Specified by:
getHost in interface javax.sip.address.Hop
Returns:
the host

getPort

public int getPort()
Specified by:
getPort in interface javax.sip.address.Hop
Returns:
the port

getTransport

public java.lang.String getTransport()
Specified by:
getTransport in interface javax.sip.address.Hop
Returns:
the transport


Copyright © 2011. All Rights Reserved.