public class RestClient extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_BASE_URI |
| Constructor and Description |
|---|
RestClient() |
public static final String DEFAULT_BASE_URI
public void init()
public void init(String baseURI)
public String getBaseURI()
public void setBaseURI(String baseURI)
public int getThreadPoolSize()
public void setThreadPoolSize(int threadPoolSize)
public void destroy()
public boolean testConnectionToServer()
public List<TelemeeApp> getTelemeeApps()
public List<ChannelAttribute> getChannelAttributes()
public void createTelemeeApp(TelemeeApp newTelemeeApp)
public void createChannel(Channel newChannel)
public void createChannelAttribute(ChannelAttribute newChannelAttribute)
public void bindChannelToApp(Channel channel, TelemeeApp telemeeApp)
public void bindChannelAttributeToChannel(ChannelAttribute channelAttribute, Channel channel)
public void createLogEntry(LogEntry newLogEntry)
public void createLogEntryAsync(LogEntry newLogEntry) throws InterruptedException
InterruptedExceptionpublic void waitTillAllIsDone()
public void deleteTelemeeApp(TelemeeApp telemeeApp)
public void deleteChannel(Channel channel)
public void deleteChannelAttribute(ChannelAttribute channelAttribute)
public void deleteLogEntries(Channel channel)
public long getLogEntriesCount(Channel channel)
Copyright © 2014 Thomas Struller-Baumann. All Rights Reserved.