public class SocketdRouter
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
void |
after(org.noear.socketd.transport.core.Listener listener)
后置监听
|
void |
before(org.noear.socketd.transport.core.Listener listener)
前置监听
|
static SocketdRouter |
getInstance() |
org.noear.socketd.transport.core.Listener |
getListener() |
java.util.Collection<java.lang.String> |
getPaths() |
void |
of(java.lang.String path,
org.noear.socketd.transport.core.Listener listener)
主监听
|
public static SocketdRouter getInstance()
public void before(org.noear.socketd.transport.core.Listener listener)
public void of(java.lang.String path, org.noear.socketd.transport.core.Listener listener)
public void after(org.noear.socketd.transport.core.Listener listener)
public org.noear.socketd.transport.core.Listener getListener()
public java.util.Collection<java.lang.String> getPaths()