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

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

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

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

@Override
public void addRef () throws JIException
{
  checkLocal ();
  final JICallBuilder obj = new JICallBuilder ( true );
  obj.setParentIpid ( this.ptr.getIPID () );
  obj.setOpnum ( 1 );//addRef
  //length
  obj.addInParamAsShort ( (short)1, JIFlags.FLAG_NULL );
  //ipid to addfref on
  final JIArray array = new JIArray ( new rpc.core.UUID[] { new rpc.core.UUID ( this.ptr.getIPID () ) }, true );
  obj.addInParamAsArray ( array, JIFlags.FLAG_NULL );
  //TODO requesting 5 for now, will later build caching mechnaism to exhaust 5 refs first before asking for more
  // same with release.
  obj.addInParamAsInt ( 5, JIFlags.FLAG_NULL );
  obj.addInParamAsInt ( 0, JIFlags.FLAG_NULL );//private refs = 0
  obj.addOutParamAsType ( Short.class, JIFlags.FLAG_NULL );//size
  obj.addOutParamAsType ( Integer.class, JIFlags.FLAG_NULL );//Hresult for size
  if ( logger.isInfoEnabled () )
  {
    logger.info ( "addRef: Adding 5 references for " + this.ptr.getIPID () + " session: " + this.session.getSessionIdentifier () );
  }
  JISession.debug_addIpids ( this.ptr.getIPID (), 5 );
  this.session.getStub2 ().addRef_ReleaseRef ( obj );
  if ( obj.getResultAsIntAt ( 1 ) != 0 )
  {
    throw new JIException ( obj.getResultAsIntAt ( 1 ), (Throwable)null );
  }
}
origin: org.jinterop/j-interop

JISession.debug_addIpids(ptr.getIPID(), 5);
origin: org.kohsuke.jinterop/j-interop

JISession.debug_addIpids(ptr.getIPID(), 5);
org.jinterop.dcom.coreJISessiondebug_addIpids

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

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setScale (BigDecimal)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Path (java.nio.file)
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • JTable (javax.swing)
  • IsNull (org.hamcrest.core)
    Is the value null?
  • From CI to AI: The AI layer in your organization
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