public CimConnection(CimConnectionInfo connectionInfo,CimListener listener,CimFilterMap filterMap) throws Exception {
  _host=connectionInfo.getConnectionParameter(CimConstants.CIM_HOST);
  _port=Integer.parseInt(connectionInfo.getConnectionParameter(CimConstants.CIM_PORT));
  _user=connectionInfo.getConnectionParameter(CimConstants.CIM_USER);
  _pass_word=connectionInfo.getConnectionParameter(CimConstants.CIM_PW);
  _interopNS=connectionInfo.getConnectionParameter(CimConstants.CIM_INTEROP_NS);
  _implNS=connectionInfo.getConnectionParameter(CimConstants.CIM_IMPL_NS);
  _useSSL=Boolean.parseBoolean(connectionInfo.getConnectionParameter(CimConstants.CIM_USE_SSL));
  _connectionName=createConnectionName();
  _listener=listener;
  if (_listener == null) {
    throw new Exception("No indication listener");
  }
  _filterMap=filterMap;
  if (_filterMap == null) {
    throw new Exception("No indication filter map");
  }
  s_logger.info("Created new CIM connection {}",_connectionName);
}

public CimConnection ( CimConnectionInfo connectionInfo , CimListener listener , CimFilterMap filterMap ) throws Exception { _host = connectionInfo . getConnectionParameter ( CimConstants . CIM_HOST ) ; _port = Integer . parseInt ( connectionInfo . getConnectionParameter ( CimConstants . CIM_PORT ) ) ; _user = connectionInfo . getConnectionParameter ( CimConstants . CIM_USER ) ; _pass_word = connectionInfo . getConnectionParameter ( CimConstants . CIM_PW ) ; _interopNS = connectionInfo . getConnectionParameter ( CimConstants . CIM_INTEROP_NS ) ; _implNS = connectionInfo . getConnectionParameter ( CimConstants . CIM_IMPL_NS ) ; _useSSL = Boolean . parseBoolean ( connectionInfo . getConnectionParameter ( CimConstants . CIM_USE_SSL ) ) ; _connectionName = createConnectionName ( ) ; _listener = listener ; if ( _listener == null ) { throw new Exception ( "No indication listener" ) ; } _filterMap = filterMap ; if ( _filterMap == null ) { throw new Exception ( "No indication filter map" ) ; } s_logger . info ( "Created new CIM connection {}" , _connectionName ) ; }
constructs a cim connection .
