57 package com.boschrexroth.mlpi;
59 public class Security
extends MlpiComponent {
65 public static final int SECURIY_NETWORKSERVICE_MAX_NAME_LEN = 16;
66 public static final int SECURIY_MAX_NETWORKSERVICES = 16;
67 public static final int SECURITY_NETWORKCONFIGVALUE_MAX_NAME_LEN = 32;
68 public static final int SECURITY_NETWORKCONFIGVALUE_MAX_VALUE_LEN = 128;
69 public static final String SECURITY_NETWORKSERVICE_FTP =
"FTP";
70 public static final String SECURITY_NETWORKSERVICE_SSH =
"SSH";
71 public static final String SECURITY_NETWORKSERVICE_MLPI =
"MLPI";
72 public static final String SECURITY_NETWORKSERVICE_MLPIS =
"MLPIS";
73 public static final String SECURITY_NETWORKSERVICE_OPCUA =
"OPCUA";
88 MLPI_SECURITY_SERVICE_DISABLED(0),
89 MLPI_SECURITY_SERVICE_ENABLED(1);
92 int getCode() {
return _code; }
96 if (code == value.getCode())
return value;
113 MLPI_SECURITY_SERVICE_NOTCHANGEABLE (0x0000),
114 MLPI_SECURITY_SERVICE_ACTIVATABLE (0x0001),
115 MLPI_SECURITY_SERVICE_DEACTIVATABLE (0x0002),
116 MLPI_SECURITY_SERVICE_CHANGEABLE (0x0003);
119 int getCode() {
return _code; }
123 if (code == value.getCode())
return value;
145 public String networkServiceName;
160 public static class NetworkConfigurationValue {
172 Security(MlpiHandle connection) {
189 return getNetworkServiceInformation();
206 return getNetworkServiceActivation(service);
224 setNetworkServiceActivation(service, state);
234 public native NetworkConfigurationValue[] getNetworkServiceConfiguration(String service);
240 public NetworkConfigurationValue[] GetNetworkServiceConfiguration(String service) {
241 return getNetworkServiceConfiguration(service);
251 public native
void setNetworkServiceConfiguration(String service, NetworkConfigurationValue[] configuration);
257 public void SetNetworkServiceConfiguration(String service, NetworkConfigurationValue[] configuration) {
258 setNetworkServiceConfiguration(service, configuration);
This enumeration describes the control possibilities of an specific network service.
This enumeration defines the state of an network service on the control.
This class is used for deploying inforations about an network service.