public final class SwitcherListener extends java.lang.Object implements ServerListener
Modifier and Type | Method and Description |
---|---|
static SwitcherListener |
getInstance() |
void |
onManagerInitialized(Manager manager,
Config config) |
void |
onManagerUninitialized(Manager manager) |
void |
onTransportAdded(Transport transport) |
void |
onTransportRemoved(Transport transport) |
void |
process(limax.switcher.switcherprovider.Broadcast p) |
void |
process(limax.switcher.switcherendpoint.CHandShake protocol) |
void |
process(limax.switcher.switcherprovider.Kick p) |
void |
process(limax.switcher.switcherprovider.OnlineAnnounceAck p) |
void |
process(limax.switcher.switcherendpoint.PingAndKeepAlive p) |
void |
process(limax.switcher.switcherendpoint.PortForward p) |
void |
process(limax.switcher.providerendpoint.SendControlToServer p) |
void |
process(limax.switcher.switcherendpoint.SessionLoginByToken p) |
void |
process(limax.provider.providerendpoint.SyncViewToClients p) |
void |
process(limax.switcher.providerendpoint.SyncViewToClients p) |
void |
process(limax.provider.providerendpoint.Tunnel p) |
void |
process(limax.switcher.providerendpoint.Tunnel p) |
void |
process(limax.switcher.switcherprovider.Unicast p) |
void |
process(WebSocketProtocol webSocketProtocol) |
void |
processResult(limax.switcher.switcherauany.SessionAuthByToken auth) |
void |
processTimeout(limax.switcher.switcherauany.SessionAuthByToken auth) |
public static SwitcherListener getInstance()
public void onManagerInitialized(Manager manager, Config config)
onManagerInitialized
in interface Listener
public void onManagerUninitialized(Manager manager)
onManagerUninitialized
in interface Listener
public void onTransportRemoved(Transport transport) throws java.lang.InstantiationException, SizePolicyException, CodecException
onTransportRemoved
in interface Listener
java.lang.InstantiationException
SizePolicyException
CodecException
public void onTransportAdded(Transport transport) throws java.lang.Exception
onTransportAdded
in interface Listener
java.lang.Exception
public final void process(limax.switcher.switcherendpoint.PingAndKeepAlive p) throws java.lang.Exception
java.lang.Exception
public final void process(limax.switcher.switcherendpoint.PortForward p) throws java.lang.Exception
java.lang.Exception
public final void process(limax.switcher.switcherendpoint.CHandShake protocol) throws java.lang.Exception
java.lang.Exception
public final void process(limax.switcher.switcherendpoint.SessionLoginByToken p) throws java.lang.Exception
java.lang.Exception
public final void processResult(limax.switcher.switcherauany.SessionAuthByToken auth)
public final void processTimeout(limax.switcher.switcherauany.SessionAuthByToken auth)
public final void process(limax.switcher.switcherprovider.OnlineAnnounceAck p)
public final void process(limax.switcher.providerendpoint.SendControlToServer p)
public void process(WebSocketProtocol webSocketProtocol)
public void process(limax.provider.providerendpoint.SyncViewToClients p)
public void process(limax.switcher.providerendpoint.SyncViewToClients p)
public void process(limax.provider.providerendpoint.Tunnel p)
public void process(limax.switcher.providerendpoint.Tunnel p)
public void process(limax.switcher.switcherprovider.Kick p)
public void process(limax.switcher.switcherprovider.Unicast p)
public void process(limax.switcher.switcherprovider.Broadcast p)