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

io.baltoro.client.BaltoroByteBufferMessageHandler Maven / Gradle / Ivy

There is a newer version: 4.0.12
Show newest version
package io.baltoro.client;

import java.nio.ByteBuffer;
import java.util.logging.Logger;

import javax.websocket.MessageHandler;
import javax.websocket.Session;

public class BaltoroByteBufferMessageHandler implements MessageHandler.Whole
{
	
	static Logger log = Logger.getLogger(BaltoroByteBufferMessageHandler.class.getName());
	
	private Session session;
	private String appUuid;
	private String instanceUuid;
	
	public BaltoroByteBufferMessageHandler(String appUuid, String instanceUuid, Session session)
	{
		this.session = session;
		this.appUuid = appUuid;
		this.instanceUuid = instanceUuid;
	}

	@Override
	public void onMessage(ByteBuffer byteBuffer)
	{
		WSSessions.get().addToRequestQueue(byteBuffer);
	}
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy