(byte[] data)
| 114 | } |
| 115 | |
| 116 | public int callOnPacketReceived(byte[] data) throws Exception { |
| 117 | if (!isEnabledSimplexEvent()) { |
| 118 | |
| 119 | return data.length; |
| 120 | } |
| 121 | for (SimplexEventListener listener : simplexEventListenerList.getListeners(SimplexEventListener.class)) { |
| 122 | |
| 123 | return listener.onPacketReceived(data); |
| 124 | } |
| 125 | return data.length; |
| 126 | } |
| 127 | |
| 128 | public void callOnChunkArrived(byte[] data) throws Exception { |
| 129 | if (!isEnabledSimplexEvent()) { |
no test coverage detected