org.wso2.carbon.databridge.agent.internal.endpoint.thrift
Class ThriftDataEndpoint
java.lang.Object
org.wso2.carbon.databridge.agent.internal.endpoint.DataEndpoint
org.wso2.carbon.databridge.agent.internal.endpoint.thrift.ThriftDataEndpoint
public class ThriftDataEndpoint
- extends DataEndpoint
ThriftDataEndpoint
public ThriftDataEndpoint()
connect
protected String connect(Object client,
String userName,
String password)
throws DataEndpointAuthenticationException
- Specified by:
connect in class DataEndpoint
- Throws:
DataEndpointAuthenticationException
disconnect
protected void disconnect(Object client,
String sessionId)
throws DataEndpointAuthenticationException
- Specified by:
disconnect in class DataEndpoint
- Throws:
DataEndpointAuthenticationException
initialize
protected void initialize()
throws DataEndpointException
- Specified by:
initialize in class DataEndpoint
- Throws:
DataEndpointException
send
protected void send(Object client,
ArrayList<org.wso2.carbon.databridge.commons.Event> events)
throws DataEndpointException,
org.wso2.carbon.databridge.commons.exception.SessionTimeoutException,
org.wso2.carbon.databridge.commons.exception.UndefinedEventTypeException
- Specified by:
send in class DataEndpoint
- Throws:
DataEndpointException
org.wso2.carbon.databridge.commons.exception.SessionTimeoutException
org.wso2.carbon.databridge.commons.exception.UndefinedEventTypeException
Copyright © 2015 WSO2. All rights reserved.