97 |
|
// make a decision about what to do |
98 |
|
if(cmd.equals("STARTCONFIG")) { |
99 |
|
// get the configuration for this client |
100 |
< |
Configuration myConfig = _configManager.getConfiguration("Client."+_clientName); |
100 |
> |
ConfigurationProxy cp = ConfigurationProxy.getInstance(); |
101 |
|
sendOK(); |
102 |
|
// get properties |
103 |
|
cmd = _socketIn.readLine(); |
109 |
|
// client is restricted to this properties |
110 |
|
if(cmd.startsWith("Client.") || cmd.startsWith("Host.")) { |
111 |
|
try { |
112 |
< |
String returnedProperty = myConfig.getProperty(cmd); |
112 |
> |
String returnedProperty = cp.getProperty("Client."+_clientName, cmd); |
113 |
|
send(returnedProperty); |
114 |
|
} |
115 |
< |
catch (org.omg.CORBA.MARSHAL e) { |
115 |
> |
catch (PropertyNotFoundException e) { |
116 |
|
sendERROR(); |
117 |
|
} |
118 |
|
} |