()
| 183 | |
| 184 | // 工具方法:创建心跳请求 |
| 185 | public static Request createHeartbeatRequest() { |
| 186 | return new Request(TYPE_HEARTBEAT, new byte[0]); |
| 187 | } |
| 188 | |
| 189 | // 工具方法:创建响应 |
| 190 | public static Response createResponse(byte type, byte status, String data) { |
nothing calls this directly
no outgoing calls
no test coverage detected