|
@@ -24,6 +24,8 @@ package com.dmdirc.addons.debug;
|
24
|
24
|
|
25
|
25
|
import com.dmdirc.FrameContainer;
|
26
|
26
|
import com.dmdirc.commandparser.CommandType;
|
|
27
|
+import com.dmdirc.events.RawDataInEvent;
|
|
28
|
+import com.dmdirc.events.RawDataOutEvent;
|
27
|
29
|
import com.dmdirc.events.ServerConnectingEvent;
|
28
|
30
|
import com.dmdirc.interfaces.Connection;
|
29
|
31
|
import com.dmdirc.parser.events.DataInEvent;
|
|
@@ -89,12 +91,12 @@ public class RawWindow extends FrameContainer {
|
89
|
91
|
|
90
|
92
|
@Handler
|
91
|
93
|
private void handleDataIn(final DataInEvent event) {
|
92
|
|
- addLine("rawIn", event.getDate(), event.getData());
|
|
94
|
+ getEventBus().publishAsync(new RawDataInEvent(this, event.getData()));
|
93
|
95
|
}
|
94
|
96
|
|
95
|
97
|
@Handler
|
96
|
98
|
private void handleDataOut(final DataOutEvent event) {
|
97
|
|
- addLine("rawOut", event.getDate(), event.getData());
|
|
99
|
+ getEventBus().publishAsync(new RawDataOutEvent(this, event.getData()));
|
98
|
100
|
}
|
99
|
101
|
|
100
|
102
|
}
|