public class RelaySession extends MediaProxySession
Thread.State, Thread.UncaughtExceptionHandler
channelAtoB, channelAtoBControl, channelBtoA, channelBtoAControl, hostA, hostB, localAddress, localPortA, localPortB, portA, portB, socketA, socketAControl, socketB, socketBControl, threadAtoB, threadAtoBControl, threadBtoA, threadBtoAControl
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
RelaySession(String id,
String creator,
String localhost,
String hostA,
int portA,
String hostB,
int portB)
Creates a new Smart Session to provide connectivity between Host A and Host B.
|
RelaySession(String id,
String creator,
String localhost,
String hostA,
int portA,
String hostB,
int portB,
int minPort,
int maxPort)
Creates a new Smart Session to provide connectivity between Host A and Host B.
|
addAgentListener, clearAgentListeners, datagramReceived, dispatchAgentStopped, getCreator, getFreePort, getHostA, getHostB, getLocalhost, getLocalPortA, getLocalPortB, getPass, getPortA, getPortB, getSID, getTimestamp, removeAgentListener, run, sendFromPortA, sendFromPortB, setHostA, setHostB, setPortA, setPortB, stopAgent
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
start
public RelaySession(String id, String creator, String localhost, String hostA, int portA, String hostB, int portB, int minPort, int maxPort)
id
- of the Session (Could be a Jingle session ID)localhost
- The localhost IP that will listen for UDP packetshostA
- the hostname or IP of the point A of the ChannelportA
- the port number point A of the ChannelhostB
- the hostname or IP of the point B of the ChannelportB
- the port number point B of the Channelcreator
- the created name or description of the ChannelminPort
- the minimal port number to be used by the proxymaxPort
- the maximun port number to be used by the proxypublic RelaySession(String id, String creator, String localhost, String hostA, int portA, String hostB, int portB)
id
- of the Session (Could be a Jingle session ID)localhost
- The localhost IP that will listen for UDP packetshostA
- the hostname or IP of the point A of the ChannelportA
- the port number point A of the ChannelhostB
- the hostname or IP of the point B of the ChannelportB
- the port number point B of the Channelcreator
- the created name or description of the ChannelCopyright © 2003-2008 Jive Software.