public class WebsocketEventAdapter extends Object implements org.wso2.carbon.event.output.adapter.core.OutputEventAdapter
Constructor and Description |
---|
WebsocketEventAdapter(org.wso2.carbon.event.output.adapter.core.OutputEventAdapterConfiguration eventAdapterConfiguration,
Map<String,String> globalProperties) |
public void init() throws org.wso2.carbon.event.output.adapter.core.exception.OutputEventAdapterException
init
in interface org.wso2.carbon.event.output.adapter.core.OutputEventAdapter
org.wso2.carbon.event.output.adapter.core.exception.OutputEventAdapterException
public void testConnect() throws org.wso2.carbon.event.output.adapter.core.exception.TestConnectionNotSupportedException
testConnect
in interface org.wso2.carbon.event.output.adapter.core.OutputEventAdapter
org.wso2.carbon.event.output.adapter.core.exception.TestConnectionNotSupportedException
public void connect()
connect
in interface org.wso2.carbon.event.output.adapter.core.OutputEventAdapter
public void publish(Object message, Map<String,String> dynamicProperties)
publish
in interface org.wso2.carbon.event.output.adapter.core.OutputEventAdapter
public void disconnect()
disconnect
in interface org.wso2.carbon.event.output.adapter.core.OutputEventAdapter
public void destroy()
destroy
in interface org.wso2.carbon.event.output.adapter.core.OutputEventAdapter
public boolean isPolled()
isPolled
in interface org.wso2.carbon.event.output.adapter.core.OutputEventAdapter
Copyright © 2017 WSO2. All rights reserved.