Openfire 3.5.2 Javadoc

org.jivesoftware.openfire.stun
Class StunServerAddress

java.lang.Object
  extended by org.jivesoftware.openfire.stun.StunServerAddress

public class StunServerAddress
extends Object

Provides easy abstract to store STUN Server Addresses and Ports


Constructor Summary
StunServerAddress(String server, String port)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getPort()
          Get STUN port
 String getServer()
          Get the Host Address
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StunServerAddress

public StunServerAddress(String server,
                         String port)
Method Detail

getServer

public String getServer()
Get the Host Address

Returns:
Host Address

getPort

public String getPort()
Get STUN port

Returns:
the Server Port

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

Openfire 3.5.2 Javadoc

Copyright © 2003-2007 Jive Software.