Package com.bj58.spat.gaea.protocol.serializer

Examples of com.bj58.spat.gaea.protocol.serializer.SerializeBase.deserialize()


        System.arraycopy(data, startIndex, sdpData, 0, data.length - startIndex);
        sdpData = CompressBase.getInstance(ct).unzip(sdpData);
        p.setUserData(sdpData);
       
        SerializeBase serialize = SerializeBase.getInstance(st);
        p.setSdpEntity(serialize.deserialize(sdpData, SDPType.getSDPClass(p.getSDPType())));
        return p;
    }
   
    /**
     * desKey 解密重载方法
View Full Code Here


          sdpData = DESCoderHelper.getInstance().decrypt(sdpData, desKey);//DES解密数据
        }
       
        p.setUserData(sdpData);
        SerializeBase serialize = SerializeBase.getInstance(st);       
        p.setSdpEntity(serialize.deserialize(sdpData, SDPType.getSDPClass(p.getSDPType())));
        return p;
    }
    /**
     * 加密重载方法
     * @param rights 是否启用权限认证
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.