## 类的使用
org.redkale.net.sncp.SncpDynServlet.SncpServletAction

- 使用SncpDynServlet.SncpServletAction的程序包
  程序包 | 说明
  --- | ---
  org.redkale.net.sncp | SNCP协议包,提供SNCP协议服务器

- - ### org.redkale.net.sncp中SncpDynServlet.SncpServletAction的使用

    返回SncpDynServlet.SncpServletAction的org.redkale.net.sncp中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `static SncpDynServlet.SncpServletAction` | SncpDynServlet.SncpServletAction.`create(Service service, DLong actionid, java.lang.reflect.Method method)` public class TestService implements Service { public boolean change(TestBean bean, String name, int id) { } } public class DynActionTestService_change extends SncpServletAction { public TestService service; @Override public void action(final BsonReader in, final BsonWriter out) throws Throwable { TestBean arg1 = convert.convertFrom(paramTypes[1], in); String arg2 = convert.convertFrom(paramTypes[2], in); int arg3 = convert.convertFrom(paramTypes[3], in); Object rs = service.change(arg1, arg2, arg3); _callParameter(out, arg1, arg2, arg3); convert.convertTo(out, paramTypes[0], rs); } }