org.wso2.carbon.databridge.agent.internal.endpoint
Class DataEndpoint
java.lang.Object
org.wso2.carbon.databridge.agent.internal.endpoint.DataEndpoint
- Direct Known Subclasses:
- BinaryDataEndpoint, ThriftDataEndpoint
public abstract class DataEndpoint
- extends Object
DataEndpoint
public DataEndpoint()
initialize
public void initialize(DataEndpointConfiguration dataEndpointConfiguration)
throws DataEndpointException,
DataEndpointAuthenticationException,
org.wso2.carbon.databridge.commons.exception.TransportException
- Throws:
DataEndpointException
DataEndpointAuthenticationException
org.wso2.carbon.databridge.commons.exception.TransportException
connect
protected abstract String connect(Object client,
String userName,
String password)
throws DataEndpointAuthenticationException
- Throws:
DataEndpointAuthenticationException
disconnect
protected abstract void disconnect(Object client,
String sessionId)
throws DataEndpointAuthenticationException
- Throws:
DataEndpointAuthenticationException
initialize
protected abstract void initialize()
throws DataEndpointException
- Throws:
DataEndpointException
isActive
public boolean isActive()
send
protected abstract 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
- Throws:
DataEndpointException
org.wso2.carbon.databridge.commons.exception.SessionTimeoutException
org.wso2.carbon.databridge.commons.exception.UndefinedEventTypeException
getDataEndpointConfiguration
protected DataEndpointConfiguration getDataEndpointConfiguration()
toString
public String toString()
- Overrides:
toString in class Object
shutdown
public void shutdown()
Copyright © 2015 WSO2. All rights reserved.