javax.media.rtp
Class SessionAddress
java.lang.Object
javax.media.rtp.SessionAddress
- All Implemented Interfaces:
- java.io.Serializable
public class SessionAddress
- extends java.lang.Object
- implements java.io.Serializable
Standard JMF class -- see this class in the JMF Javadoc.
Coding complete.
- Author:
- Ken Larson
- See Also:
- Serialized Form
Constructor Summary |
SessionAddress()
|
SessionAddress(java.net.InetAddress dataAddress,
int dataPort)
|
SessionAddress(java.net.InetAddress dataAddress,
int dataPort,
java.net.InetAddress controlAddress,
int controlPort)
|
SessionAddress(java.net.InetAddress dataAddress,
int dataPort,
int timeToLive)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ANY_PORT
public static final int ANY_PORT
- See Also:
- Constant Field Values
SessionAddress
public SessionAddress(java.net.InetAddress dataAddress,
int dataPort)
SessionAddress
public SessionAddress(java.net.InetAddress dataAddress,
int dataPort,
int timeToLive)
SessionAddress
public SessionAddress(java.net.InetAddress dataAddress,
int dataPort,
java.net.InetAddress controlAddress,
int controlPort)
SessionAddress
public SessionAddress()
getTimeToLive
public int getTimeToLive()
getDataAddress
public java.net.InetAddress getDataAddress()
setDataHostAddress
public void setDataHostAddress(java.net.InetAddress dataAddress)
setDataPort
public void setDataPort(int dataPort)
getDataHostAddress
public java.lang.String getDataHostAddress()
getDataPort
public int getDataPort()
getControlAddress
public java.net.InetAddress getControlAddress()
setControlHostAddress
public void setControlHostAddress(java.net.InetAddress controlAddress)
setControlPort
public void setControlPort(int controlPort)
getControlHostAddress
public java.lang.String getControlHostAddress()
getControlPort
public int getControlPort()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object