(byte[] data)
| 173 | } |
| 174 | |
| 175 | public byte[] callOnChunkSend(byte[] data) throws Exception { |
| 176 | if (!isEnabledSimplexEvent()) { |
| 177 | |
| 178 | return data; |
| 179 | } |
| 180 | for (SimplexEventListener listener : simplexEventListenerList.getListeners(SimplexEventListener.class)) { |
| 181 | |
| 182 | return listener.onChunkSend(data); |
| 183 | } |
| 184 | return data; |
| 185 | } |
| 186 | |
| 187 | public Simplex(InputStream in, OutputStream out) throws Exception { |
| 188 | this.in = in; |
no test coverage detected