public class NetworkGateway extends Object
| Modifier and Type | Field and Description |
|---|---|
protected LinkedList<IGatewayEvent> |
events |
| Constructor and Description |
|---|
NetworkGateway() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPrimaryEndpoint() |
Integer |
getPrimaryPort() |
String |
getSecondaryEndpoint() |
Integer |
getSecondaryPort() |
int |
getTimeout() |
byte[] |
send(IDeviceMessage message) |
void |
setEnableLogging(boolean enableLogging) |
void |
setForceGatewayTimeout(boolean forceGatewayTimeout) |
void |
setPrimaryEndpoint(String primaryEndpoint) |
void |
setPrimaryPort(Integer primaryPort) |
void |
setSecondaryEndpoint(String secondaryEndpoint) |
void |
setSecondaryPort(Integer secondaryPort) |
void |
setTimeout(int timeout) |
protected LinkedList<IGatewayEvent> events
public String getPrimaryEndpoint()
public void setPrimaryEndpoint(String primaryEndpoint)
public Integer getPrimaryPort()
public void setPrimaryPort(Integer primaryPort)
public String getSecondaryEndpoint()
public void setSecondaryEndpoint(String secondaryEndpoint)
public Integer getSecondaryPort()
public void setSecondaryPort(Integer secondaryPort)
public int getTimeout()
public void setTimeout(int timeout)
public void setEnableLogging(boolean enableLogging)
public void setForceGatewayTimeout(boolean forceGatewayTimeout)
public byte[] send(IDeviceMessage message) throws ApiException
ApiExceptionCopyright © 2019. All rights reserved.