Tabnine Logo
JISession.getLocalHost
Code IndexAdd Tabnine to your IDE (free)

How to use
getLocalHost
method
in
org.jinterop.dcom.core.JISession

Best Java code snippets using org.jinterop.dcom.core.JISession.getLocalHost (Showing top 3 results out of 315)

origin: org.jinterop/j-interop

void setTargetServer(String targetServer)
{
  if (targetServer.equalsIgnoreCase("127.0.0.1"))
  {
    //Replace with it's actual bindings, otherwise does not work for JCIFS authentication
    this.targetServer = getLocalhostAddressAsIPString();
  }
  else
  {
    this.targetServer = targetServer;
    
    //will change the localhost to the actual address as well
    if (localhostStr.equalsIgnoreCase("127.0.0.1"))
    { //Bug in JDK , time to find alternate logic. 
      localhostStr = getLocalHost(targetServer);
    }
    
  }
  
  
}
 
origin: org.openscada.jinterop/org.openscada.jinterop.core

void setTargetServer ( final String targetServer )
{
  if ( targetServer.equalsIgnoreCase ( "127.0.0.1" ) )
  {
    //Replace with it's actual bindings, otherwise does not work for JCIFS authentication
    this.targetServer = getLocalhostAddressAsIPString ();
  }
  else
  {
    this.targetServer = targetServer;
    //will change the localhost to the actual address as well
    if ( localhostStr.equalsIgnoreCase ( "127.0.0.1" ) )
    { //Bug in JDK , time to find alternate logic.
      localhostStr = getLocalHost ( targetServer );
    }
  }
}
origin: org.kohsuke.jinterop/j-interop

void setTargetServer(String targetServer)
{
  if (targetServer.equalsIgnoreCase("127.0.0.1"))
  {
    //Replace with it's actual bindings, otherwise does not work for JCIFS authentication
    this.targetServer = getLocalhostAddressAsIPString();
  }
  else
  {
    this.targetServer = targetServer;
    //will change the localhost to the actual address as well
    if (localhostStr.equalsIgnoreCase("127.0.0.1"))
    { //Bug in JDK , time to find alternate logic.
      localhostStr = getLocalHost(targetServer);
    }
  }
}
org.jinterop.dcom.coreJISessiongetLocalHost

Popular methods of JISession

  • createSession
    Creates a new session using credentials of the sessionparameter. The new session is not yet attached
  • setGlobalSocketTimeout
    Sets the timeout for all sockets opened to (not fro) the COM server for this session. Default value
  • destroySession
    Used to destroy the session, this release all references of the COM server and it's interfaces. It s
  • useSessionSecurity
    Sets the use of NTLM2 Session Security. Framework will use NTLM Packet Level Privacy and Sign\Seal
  • <init>
  • addToSession
  • debug_addIpids
  • debug_delIpids
  • equals
  • getDomain
    Gets the domain of the user associated with this session.
  • getGlobalSocketTimeout
    Returns the global timeout applied to all sockets opened from this session to COM Server.
  • getLocalhostAddressAsIPString
  • getGlobalSocketTimeout,
  • getLocalhostAddressAsIPString,
  • getLocalhostAddressAsIPbytes,
  • getLocalhostCanonicalAddressAsString,
  • getPassword,
  • getSessionIdentifier,
  • getStub,
  • getTargetServer,
  • getUnreferencedHandler

Popular in Java

  • Creating JSON documents from java classes using gson
  • getContentResolver (Context)
  • scheduleAtFixedRate (Timer)
  • getSupportFragmentManager (FragmentActivity)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • BoxLayout (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now