- java.lang.Object
-
- org.redkale.boot.NodeServer
-
- org.redkale.boot.NodeSncpServer
-
@NodeProtocol("SNCP") public class NodeSncpServer extends NodeServer
SNCP Server节点的配置Server详情见: https://redkale.org
- 作者:
- zhangjx
-
-
字段概要
字段 修饰符和类型 字段 说明 protected SncpServer
sncpServer
-
从类继承的字段 org.redkale.boot.NodeServer
application, dynServletMap, interceptor, LINE_SEPARATOR, localServices, logger, messageAgents, remoteServices, resourceFactory, server, serverClassLoader, serverConf, serverThread, servletServices, sncpClient, sncpGroup, sncpRemoteAgents, threadName
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 protected ClassFilter<Filter>
createFilterClassFilter()
static NodeServer
createNodeServer(Application application, AnyValue serconf)
protected ClassFilter<Servlet>
createServletClassFilter()
SncpServer
getSncpServer()
InetSocketAddress
getSocketAddress()
void
init(AnyValue config)
boolean
isSNCP()
protected void
loadFilter(ClassFilter<? extends Filter> filterFilter)
protected void
loadServlet(ClassFilter<? extends Servlet> servletFilter)
protected void
loadSncpFilter(AnyValue servletsConf, ClassFilter<? extends Filter> classFilter)
-
从类继承的方法 org.redkale.boot.NodeServer
acceptsComponent, afterClusterDeregisterOnPreDestroyServices, command, create, createClassFilter, createOtherClassFilters, createServiceClassFilter, getApplication, getLocalServices, getLogger, getMessageAgent, getRemoteServices, getResourceFactory, getServer, getServerClassLoader, getServerConf, getServletServices, getSncpAddress, getSncpGroup, getThreadName, interceptComponent, isWATCH, loadOthers, loadService, postLoadServlets, postStartServer, preDestroyServices, preInitServices, setServerClassLoader, shutdown, start
-
-
-
-
字段详细资料
-
sncpServer
protected final SncpServer sncpServer
-
-
方法详细资料
-
createNodeServer
public static NodeServer createNodeServer(Application application, AnyValue serconf)
-
getSocketAddress
public InetSocketAddress getSocketAddress()
- 指定者:
getSocketAddress
在类中NodeServer
-
init
public void init(AnyValue config) throws Exception
- 覆盖:
init
在类中NodeServer
- 抛出:
Exception
-
isSNCP
public boolean isSNCP()
- 覆盖:
isSNCP
在类中NodeServer
-
getSncpServer
public SncpServer getSncpServer()
-
loadFilter
protected void loadFilter(ClassFilter<? extends Filter> filterFilter) throws Exception
- 指定者:
loadFilter
在类中NodeServer
- 抛出:
Exception
-
loadSncpFilter
protected void loadSncpFilter(AnyValue servletsConf, ClassFilter<? extends Filter> classFilter) throws Exception
- 抛出:
Exception
-
loadServlet
protected void loadServlet(ClassFilter<? extends Servlet> servletFilter) throws Exception
- 指定者:
loadServlet
在类中NodeServer
- 抛出:
Exception
-
createFilterClassFilter
protected ClassFilter<Filter> createFilterClassFilter()
- 指定者:
createFilterClassFilter
在类中NodeServer
-
createServletClassFilter
protected ClassFilter<Servlet> createServletClassFilter()
- 指定者:
createServletClassFilter
在类中NodeServer
-
-