public interface ConnectionOptimizer extends Remote
| Modifier and Type | Method and Description |
|---|---|
int |
getDataCompressionThreshold(int sessionId)
Gets the value of the data compression threshold for the specified user
|
void |
setDataCompressionThreshold(String user,
int id,
int compression)
Sets the value of the user data compression threshold (minimum number of bytes to apply compression on data transmissions)
|
EntityResult |
testConnectionSpeed(int sizeInBytes,
boolean compressed)
This method test the connection speed an return an EntityResult to check
the line
|
EntityResult testConnectionSpeed(int sizeInBytes, boolean compressed) throws Exception
sizeInBytes - compressed - Exceptionvoid setDataCompressionThreshold(String user, int id, int compression) throws Exception
user - User nameid - User session identifiercompression - Compression threshold valueExceptionCopyright © 2016 Imatia Innovation S.L.. All rights reserved.