}
}
private void segRequest(byte[] bs) {
if (bs != null && out != null) {
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());