com.yoctopuce.YoctoWSHandler.WSHandlerJEE Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yoctolib Show documentation
Show all versions of yoctolib Show documentation
Official Yoctopuce Library for Java SE
package com.yoctopuce.YoctoWSHandler;
import com.yoctopuce.YoctoAPI.WSHandlerInterface;
import com.yoctopuce.YoctoAPI.YAPI;
import com.yoctopuce.YoctoAPI.YAPI_Exception;
import com.yoctopuce.YoctoAPI.YHTTPHub;
import java.nio.ByteBuffer;
public class WSHandlerJEE implements WSHandlerInterface
{
public WSHandlerJEE(WSHandlerInterface.WSHandlerResponseInterface nhandler, Object session)
{
}
@Override
public void connect(YHTTPHub hub, boolean first_notification_connection, int mstimeout, int notifAbsPos) throws YAPI_Exception
{
throw new YAPI_Exception(YAPI.NOT_SUPPORTED, "WSHandlerJEE is only supported in library yoctolib-jEE");
}
@Override
public void close()
{
}
@Override
public boolean isOpen()
{
return false;
}
@Override
public void sendBinary(ByteBuffer partialByte, boolean isLast) throws YAPI_Exception
{
}
@Override
public String getThreadLabel()
{
return "WSHandlerJEE";
}
@Override
public boolean isCallback()
{
return false;
}
}