Search in sources :

Example 1 with GpgGameMessageEvent

use of com.faforever.client.fa.relay.ice.event.GpgGameMessageEvent in project downlords-faf-client by FAForever.

the class IceAdapterCallbacks method onGpgNetMessageReceived.

public void onGpgNetMessageReceived(String header, List<Object> chunks) {
    log.debug("Message from game: '{}' '{}'", header, chunks);
    eventBus.post(new GpgGameMessageEvent(new GpgGameMessage(header, chunks)));
}
Also used : GpgGameMessageEvent(com.faforever.client.fa.relay.ice.event.GpgGameMessageEvent) GpgGameMessage(com.faforever.client.fa.relay.GpgGameMessage)

Aggregations

GpgGameMessage (com.faforever.client.fa.relay.GpgGameMessage)1 GpgGameMessageEvent (com.faforever.client.fa.relay.ice.event.GpgGameMessageEvent)1