public class PacketDumpUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ALL
The Constant ALL.
|
static int |
FR_DOWN
The Constant FR_DOWN.
|
static int |
FR_UP
The Constant FR_UP.
|
static int |
HS_DOWN
The Constant HS_DOWN.
|
static int |
HS_UP
The Constant HS_UP.
|
| Constructor and Description |
|---|
PacketDumpUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isDump(WebSocket ws,
int mode)
Checks if is dump.
|
static void |
main(String[] args)
The main method.
|
static void |
printPacketDump(String title,
ByteBuffer buffer)
Prints the packet dump.
|
public static final int FR_DOWN
public static final int HS_DOWN
public static final int FR_UP
public static final int HS_UP
public static final int ALL
public static boolean isDump(WebSocket ws, int mode)
mode - the modepublic static void printPacketDump(String title, ByteBuffer buffer)
title - the titlebuffer - the bufferCopyright © 2021. All rights reserved.