public class MultipointServer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MultipointServer.CloseException |
class |
MultipointServer.Session |
Constructor and Description |
---|
MultipointServer(int port,
Tracker tracker) |
MultipointServer(java.lang.String bindHost,
java.lang.String broadcastHost,
int port,
Tracker tracker,
java.lang.String name,
boolean debug,
java.util.Set<java.net.URI> roots,
Duration reconnectDelay) |
Modifier and Type | Method and Description |
---|---|
void |
connect(int port) |
void |
connect(MultipointServer s) |
void |
connect(java.net.URI uri) |
java.util.List<java.net.URI> |
getConnectionsQueued() |
Event |
getHeartbeats() |
long |
getJoined() |
java.net.URI |
getMe() |
java.lang.String |
getName() |
int |
getPort() |
long |
getReconnectDelay() |
Event |
getReconnects() |
java.util.Set<java.net.URI> |
getRoots() |
Event |
getRuns() |
java.util.List<java.net.URI> |
getSessions() |
Event |
getSessionsCreated() |
static java.lang.String |
randomColor() |
MultipointServer |
start() |
void |
stop() |
java.lang.String |
toString() |
public MultipointServer(int port, Tracker tracker) throws java.io.IOException
java.io.IOException
public java.net.URI getMe()
public java.util.Set<java.net.URI> getRoots()
public Event getRuns()
public Event getHeartbeats()
public Event getReconnects()
public Event getSessionsCreated()
public java.lang.String getName()
public long getJoined()
public java.util.List<java.net.URI> getSessions()
public java.util.List<java.net.URI> getConnectionsQueued()
public long getReconnectDelay()
public int getPort()
public MultipointServer start()
public void stop()
public void connect(MultipointServer s) throws java.lang.Exception
java.lang.Exception
public void connect(int port) throws java.lang.Exception
java.lang.Exception
public void connect(java.net.URI uri)
public java.lang.String toString()
toString
in class java.lang.Object
public static java.lang.String randomColor()