use of com.thoughtworks.go.websocket.ConsoleTransmission in project gocd by gocd.
the class ConsoleOutputWebsocketTransmitter method consumeLine.
@Override
public void consumeLine(String line) {
ConsoleTransmission transmission = new ConsoleTransmission(line, buildId);
this.webSocketSessionHandler.sendAndWaitForAcknowledgement(new Message(Action.consoleOut, MessageEncoding.encodeData(transmission)));
}
Aggregations