org.wso2.carbon.databridge.agent.thrift.internal.utils
Class AgentServerURL

java.lang.Object
  extended by org.wso2.carbon.databridge.agent.thrift.internal.utils.AgentServerURL

public class AgentServerURL
extends Object

The Agent server endpoint url


Constructor Summary
AgentServerURL(String url)
           
 
Method Summary
 String getHost()
           
 int getPort()
           
 ReceiverConfiguration.Protocol getProtocol()
           
 boolean isSecured()
           
 void setHost(String host)
           
 void setPort(int port)
           
 void setProtocol(ReceiverConfiguration.Protocol protocol)
           
 void setSecured(boolean secured)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentServerURL

public AgentServerURL(String url)
               throws MalformedURLException
Throws:
MalformedURLException
Method Detail

getProtocol

public ReceiverConfiguration.Protocol getProtocol()

setProtocol

public void setProtocol(ReceiverConfiguration.Protocol protocol)

getHost

public String getHost()

setHost

public void setHost(String host)

getPort

public int getPort()

setPort

public void setPort(int port)

isSecured

public boolean isSecured()

setSecured

public void setSecured(boolean secured)


Copyright © 2015 WSO2. All rights reserved.