All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.payneteasy.websocket.WebSocketContext Maven / Gradle / Ivy

There is a newer version: 1.0-8
Show newest version
package com.payneteasy.websocket;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 *
 */
public class WebSocketContext {

    private static final Logger LOG = LoggerFactory.getLogger(WebSocketContext.class);

    private final IOutputQueue queue;

    public WebSocketContext(IOutputQueue queue) {
        this.queue = queue;
    }

    public void sendFrame(WebSocketFrame aFrame) {
        LOG.debug("W-QUEUE: {}", aFrame);
        queue.addFrame(aFrame);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy