Package io.agora.rtm
Class RtmProxyConfig
java.lang.Object
io.agora.rtm.RtmProxyConfig
Proxy configuration
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance ofRtmProxyConfigwith default parameters.RtmProxyConfig(RtmConstants.RtmProxyType type, String server, int port) Creates a new instance ofRtmProxyConfigwith specifies parameters.RtmProxyConfig(RtmConstants.RtmProxyType type, String server, int port, String account, String password) Creates a new instance ofRtmProxyConfigwith specifies parameters. -
Method Summary
Modifier and TypeMethodDescriptionintgetPort()intvoidsetAccount(String account) voidsetPassword(String password) voidsetPort(int port) voidvoidtoString()
-
Constructor Details
-
RtmProxyConfig
public RtmProxyConfig()Creates a new instance ofRtmProxyConfigwith default parameters. -
RtmProxyConfig
Creates a new instance ofRtmProxyConfigwith specifies parameters.- Parameters:
type- The proxy typeserver- The proxy server addressport- The proxy server port
-
RtmProxyConfig
public RtmProxyConfig(RtmConstants.RtmProxyType type, String server, int port, String account, String password) Creates a new instance ofRtmProxyConfigwith specifies parameters.- Parameters:
type- The proxy typeserver- The proxy server addressport- The proxy server portaccount- The proxy user accountpassword- The proxy user password
-
-
Method Details