String rawAddress = "socket://:7607";
boolean found = false;
I_Driver[] drivers = this.fatherGlob.getPluginRegistry().getPluginsOfInterfaceI_Driver();//register(pluginInfo.getId(), plugin);//getProtocolPluginManager().getPlugin(type, version)
for (int i=0; i<drivers.length; i++) {
if (drivers[i] instanceof SocketDriver) {
SocketDriver sd = (SocketDriver)drivers[i];
rawAddress = sd.getRawAddress();
type = sd.getType();
version = sd.getVersion();
found = true;
}
}
if (!found)
log.severe("No socket protocol driver found");