Add remote control configurations as remove unused methods

revert-70aa11f8
warunalakshitha 7 years ago
parent 22fac48873
commit 2313928741

@ -33,8 +33,7 @@ public class RemoteSessionConfiguration {
private int maxTotalHTTPConnections;
private int maxMessagesPerSecond;
private int sessionIdleTimeOut;
private int maxSessionDuration;
private int sessionBufferSize;
private int maxMessageBufferSize;
public void setRemoteSessionServerUrl(String remoteSessionServerUrl) {
this.remoteSessionServerUrl = remoteSessionServerUrl;
@ -113,30 +112,17 @@ public class RemoteSessionConfiguration {
this.sessionIdleTimeOut = sessionIdleTimeOut;
}
/**
* Maximum session duration in minutes
* @return
*/
@XmlElement(name = "MaximumSessionDuration", required = true, defaultValue = "15")
public int getMaxSessionDuration() {
return maxSessionDuration;
}
public void setMaxSessionDuration(int maxSessionDuration) {
this.maxSessionDuration = maxSessionDuration;
}
/**
* Maximum session buffer size in kilo bytes
* @return
*/
@XmlElement(name = "SessionBufferSize", required = true, defaultValue = "640")
public int getSessionBufferSize() {
return sessionBufferSize;
@XmlElement(name = "MaximumMessageBufferSize", required = true, defaultValue = "640")
public int getMaxMessageBufferSize() {
return maxMessageBufferSize;
}
public void setSessionBufferSize(int sessionBufferSize) {
this.sessionBufferSize = sessionBufferSize;
public void setMaxMessageBufferSize(int MaxMessageBufferSize) {
this.maxMessageBufferSize = MaxMessageBufferSize;
}
}

@ -103,8 +103,7 @@
<MaximumTotalHTTPConnections>100</MaximumTotalHTTPConnections>
<MaximumMessagesPerSecond>20</MaximumMessagesPerSecond>
<SessionIdleTimeOut>15</SessionIdleTimeOut>
<MaximumSessionDuration>60</MaximumSessionDuration>
<SessionBufferSize>640</SessionBufferSize>
<MaximumMessageBufferSize>640</MaximumMessageBufferSize>
</RemoteSessionConfiguration>
<DefaultGroupsConfiguration>BYOD,COPE</DefaultGroupsConfiguration>
</DeviceMgtConfiguration>

@ -46,6 +46,11 @@
<AdminUsername>admin</AdminUsername>
<AdminPassword>admin</AdminPassword>
</IdentityConfiguration>
<KeyManagerConfiguration>
<ServerUrl>https://localhost:9443</ServerUrl>
<AdminUsername>admin</AdminUsername>
<AdminPassword>admin</AdminPassword>
</KeyManagerConfiguration>
<PolicyConfiguration>
<MonitoringClass>org.wso2.carbon.policy.mgt</MonitoringClass>
<MonitoringEnable>true</MonitoringEnable>
@ -91,6 +96,16 @@
<isEnabled>false</isEnabled>
<PublishOperationResponse>false</PublishOperationResponse>
</OperationAnalyticsConfiguration>
<!--This configuration used to configure the options for remote device control feature -->
<RemoteSessionConfiguration>
<Enabled>true</Enabled>
<RemoteSessionServerUrl>wss://localhost:9443</RemoteSessionServerUrl>
<MaximumHTTPConnectionPerHost>2</MaximumHTTPConnectionPerHost>
<MaximumTotalHTTPConnections>100</MaximumTotalHTTPConnections>
<MaximumMessagesPerSecond>20</MaximumMessagesPerSecond>
<SessionIdleTimeOut>15</SessionIdleTimeOut>
<MaximumMessageBufferSize>640</MaximumMessageBufferSize>
</RemoteSessionConfiguration>
<DefaultGroupsConfiguration>BYOD,COPE</DefaultGroupsConfiguration>
</DeviceMgtConfiguration>

Loading…
Cancel
Save