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.OutputEventAdapterorg.wso2.carbon.event.output.adapter.core.exception.OutputEventAdapterExceptionpublic void testConnect()
throws org.wso2.carbon.event.output.adapter.core.exception.TestConnectionNotSupportedException
testConnect in interface org.wso2.carbon.event.output.adapter.core.OutputEventAdapterorg.wso2.carbon.event.output.adapter.core.exception.TestConnectionNotSupportedExceptionpublic void connect()
connect in interface org.wso2.carbon.event.output.adapter.core.OutputEventAdapterpublic void publish(Object message, Map<String,String> dynamicProperties)
publish in interface org.wso2.carbon.event.output.adapter.core.OutputEventAdapterpublic void disconnect()
disconnect in interface org.wso2.carbon.event.output.adapter.core.OutputEventAdapterpublic void destroy()
destroy in interface org.wso2.carbon.event.output.adapter.core.OutputEventAdapterpublic boolean isPolled()
isPolled in interface org.wso2.carbon.event.output.adapter.core.OutputEventAdapterCopyright © 2017 WSO2. All rights reserved.