SncpHeader优化

This commit is contained in:
redkale
2023-07-03 09:06:01 +08:00
parent 6bb91552f7
commit 319b9e04dd
4 changed files with 16 additions and 7 deletions

View File

@@ -46,7 +46,7 @@ public class SncpClientCodecTest {
//----------------------------------------------
ByteBuffer realBuf;
{
SncpHeader header = new SncpHeader(sncpAddress, Uint128.ZERO, Uint128.ZERO);
SncpHeader header = new SncpHeader(sncpAddress, Uint128.ZERO, "", Uint128.ZERO, "");
SncpClientRequest request = new SncpClientRequest();
ByteArray writeArray = new ByteArray();
request.prepare(header, 1, "", new byte[20]);