public final 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) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
void |
destroy() |
void |
disconnect() |
void |
init() |
void |
publish(Object message,
Map<String,String> dynamicProperties) |
void |
testConnect() |
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.OutputEventAdapterCopyright © 2015 WSO2. All rights reserved.