File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed
net/src/main/java/com/zfoo/net/core/proxy Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -37,33 +37,6 @@ public class TunnelProtocolClient2Server {
3737 public static final byte FLAG_REGISTER = 10 ;
3838 public static final byte FLAG_HEARTBEAT = 20 ;
3939
40- private long sid ;
41-
42- private long uid ;
43-
44- private ByteBuf byteBuf ;
45-
46- public static TunnelProtocolClient2Server valueOf (long sid , long uid , ByteBuf byteBuf ) {
47- var tunnelProtocol = new TunnelProtocolClient2Server ();
48- tunnelProtocol .sid = sid ;
49- tunnelProtocol .uid = uid ;
50- tunnelProtocol .byteBuf = byteBuf ;
51- return tunnelProtocol ;
52- }
53-
54- public long getSid () {
55- return sid ;
56- }
57-
58- public long getUid () {
59- return uid ;
60- }
61-
62- public ByteBuf getByteBuf () {
63- return byteBuf ;
64- }
65-
66-
6740 // -----------------------------------------------------------------------------------------------------------------
6841 public static void writePacket (ByteBuf out , EncodedPacketInfo encodedPacketInfo ) {
6942 out .ensureWritable (4 );
You can’t perform that action at this time.
0 commit comments