(byte[] data)
| 49 | } |
| 50 | |
| 51 | public byte[] prepareFastSend(byte[] data) throws Exception { |
| 52 | int accepted_length = callOnClientPacketReceived(data); |
| 53 | if (accepted_length <= 0) { |
| 54 | |
| 55 | return null; |
| 56 | } |
| 57 | byte[] accepted = ArrayUtils.subarray(data, 0, accepted_length); |
| 58 | |
| 59 | byte[] pass = callOnClientChunkPassThrough(); |
| 60 | |
| 61 | byte[] decoded = super.callOnClientChunkReceived(accepted); |
| 62 | byte[] encoded = super.callOnClientChunkSend(decoded); |
| 63 | |
| 64 | return ArrayUtils.addAll(pass, encoded); |
| 65 | } |
| 66 | |
| 67 | public void execFastSend(byte[] data) throws Exception { |
| 68 | out.write(data); |
nothing calls this directly
no test coverage detected