This commit is contained in:
Redkale
2020-05-27 14:21:01 +08:00
parent ea15634f47
commit efeff3b720
2 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ import org.redkale.util.*;
*
* @author zhangjx
*/
public final class SncpRequest extends Request<SncpContext> {
public class SncpRequest extends Request<SncpContext> {
public static final int HEADER_SIZE = 60;

View File

@@ -19,7 +19,7 @@ import org.redkale.util.*;
*
* @author zhangjx
*/
public final class SncpResponse extends Response<SncpContext, SncpRequest> {
public class SncpResponse extends Response<SncpContext, SncpRequest> {
public static final int RETCODE_ILLSERVICEID = (1 << 1); //无效serviceid
@@ -70,7 +70,7 @@ public final class SncpResponse extends Response<SncpContext, SncpRequest> {
finish(buffers);
}
private void fillHeader(ByteBuffer buffer, int bodyLength, int retcode) {
protected void fillHeader(ByteBuffer buffer, int bodyLength, int retcode) {
//---------------------head----------------------------------
final int currentpos = buffer.position();
buffer.position(0);