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

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

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

origin: org.openscada.jinterop/org.openscada.jinterop.core

JIStringBinding ( final int port, final boolean hostname )
{
  String hostaddress = null;
  if ( !hostname )
  {
    //single binding with our IP address
    hostaddress = JISession.getLocalhostAddressAsIPString ();
  }
  else
  {
    hostaddress = JISession.getLocalhostCanonicalAddressAsString ();
  }
  if ( port == -1 )
  {
    this.networkAddress = hostaddress;
  }
  else
  {
    this.networkAddress = hostaddress + "[" + Integer.toString ( port ) + "]";
  }
  this.length = 2 + this.networkAddress.length () * 2 + 2;
  this.towerId = 0x7; //TCP_IP
}
origin: org.jinterop/j-interop

JIStringBinding(int port,boolean hostname)
{
  String hostaddress = null;
  if (!hostname)
  {
    //single binding with our IP address
    hostaddress = JISession.getLocalhostAddressAsIPString();
  }
  else
  {
    hostaddress = JISession.getLocalhostCanonicalAddressAsString();
  }
  
  if (port == -1)
  {
    networkAddress = hostaddress ;
  }
  else
  {
    networkAddress = hostaddress + "[" + Integer.toString(port) + "]";
  }
  
  length = 2 + networkAddress.length() * 2 + 2;
  towerId = 0x7; //TCP_IP
}
 
origin: org.kohsuke.jinterop/j-interop

JIStringBinding(int port,boolean hostname)
{
  String hostaddress = null;
  if (!hostname)
  {
    //single binding with our IP address
    hostaddress = JISession.getLocalhostAddressAsIPString();
  }
  else
  {
    hostaddress = JISession.getLocalhostCanonicalAddressAsString();
  }
  if (port == -1)
  {
    networkAddress = hostaddress ;
  }
  else
  {
    networkAddress = hostaddress + "[" + Integer.toString(port) + "]";
  }
  length = 2 + networkAddress.length() * 2 + 2;
  towerId = 0x7; //TCP_IP
}
org.jinterop.dcom.coreJISessiongetLocalhostCanonicalAddressAsString

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.
  • getLocalHost
  • getGlobalSocketTimeout,
  • getLocalHost,
  • getLocalhostAddressAsIPString,
  • getLocalhostAddressAsIPbytes,
  • getPassword,
  • getSessionIdentifier,
  • getStub,
  • getTargetServer,
  • getUnreferencedHandler

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getExternalFilesDir (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Reference (javax.naming)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Join (org.hibernate.mapping)
  • Github Copilot alternatives
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