Package org.ictclas4j.remote

Examples of org.ictclas4j.remote.MsgPack


      SegRequest req = new SegRequest(bs);
      String content = req.getContent();
      SegResult sr = getSeg(content);

      try {
        MsgPack pack = new MsgPack(CmdID.SEG_RESPONSE, sr);
        out.write(pack.getBytes());
        out.flush();
      } catch (IOException e) {
        logger.error("segment request", e);
        close();
      }
View Full Code Here

TOP

Related Classes of org.ictclas4j.remote.MsgPack

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.