Search in sources :

Example 1 with EzySimpleStreamingEvent

use of com.tvd12.ezyfoxserver.event.EzySimpleStreamingEvent in project ezyfox-server by youngmonkeys.

the class EzySimpleStreamingController method handle.

@Override
public void handle(EzyZoneContext ctx, EzyStreamingRequest request) {
    EzyStreamingEvent event = new EzySimpleStreamingEvent(request.getUser(), request.getSession(), request.getBytes());
    ctx.handleEvent(EzyEventType.STREAMING, event);
}
Also used : EzySimpleStreamingEvent(com.tvd12.ezyfoxserver.event.EzySimpleStreamingEvent) EzyStreamingEvent(com.tvd12.ezyfoxserver.event.EzyStreamingEvent)

Aggregations

EzySimpleStreamingEvent (com.tvd12.ezyfoxserver.event.EzySimpleStreamingEvent)1 EzyStreamingEvent (com.tvd12.ezyfoxserver.event.EzyStreamingEvent)1