//------------------------------------------------------------------- // private methods //------------------------------------------------------------------- private void initializeInterface(iControlInterface oInterface) { String url = (null == m_authToken) ? m_ci.buildURL() : m_ci.buildURLwToken(m_emIPAddress, m_authToken); oInterface.Url = url; oInterface.Credentials = m_ci.creds; oInterface.PreAuthenticate = true; if (null != m_proxyServer) { oInterface.Proxy = m_proxyServer; } oInterface.interfaces = this; }