org.wso2.carbon.databridge.agent.internal.endpoint.binary
Class BinaryDataEndpoint

java.lang.Object
  extended by org.wso2.carbon.databridge.agent.internal.endpoint.DataEndpoint
      extended by org.wso2.carbon.databridge.agent.internal.endpoint.binary.BinaryDataEndpoint

public class BinaryDataEndpoint
extends DataEndpoint


Constructor Summary
BinaryDataEndpoint()
           
 
Method Summary
protected  String connect(Object client, String userName, String password)
           
protected  void disconnect(Object client, String sessionId)
           
protected  void initialize()
           
protected  void send(Object client, ArrayList<org.wso2.carbon.databridge.commons.Event> events)
           
 
Methods inherited from class org.wso2.carbon.databridge.agent.internal.endpoint.DataEndpoint
getDataEndpointConfiguration, initialize, isActive, shutdown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BinaryDataEndpoint

public BinaryDataEndpoint()
Method Detail

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.