()
| 149 | } |
| 150 | |
| 151 | public byte[] callOnChunkAvailable() throws Exception { |
| 152 | if (!isEnabledSimplexEvent()) { |
| 153 | |
| 154 | return null; |
| 155 | } |
| 156 | for (SimplexEventListener listener : simplexEventListenerList.getListeners(SimplexEventListener.class)) { |
| 157 | |
| 158 | return listener.onChunkAvailable(); |
| 159 | } |
| 160 | return null; |
| 161 | } |
| 162 | |
| 163 | public byte[] callOnChunkReceived(byte[] data) throws Exception { |
| 164 | if (!isEnabledSimplexEvent()) { |
no test coverage detected