Tabnine Logo
IJIComObject.getIpid
Code IndexAdd Tabnine to your IDE (free)

How to use
getIpid
method
in
org.jinterop.dcom.core.IJIComObject

Best Java code snippets using org.jinterop.dcom.core.IJIComObject.getIpid (Showing top 15 results out of 315)

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

@Override
public String getIpid ()
{
  return this.comObject.getIpid ();
}
origin: org.kohsuke.jinterop/j-interop

public String getIpid()
{
  return comObject.getIpid();
}
 
origin: org.jinterop/j-interop

public String getIpid()
{
  return comObject.getIpid();
}
 
origin: org.openscada.jinterop/org.openscada.jinterop.core

@Override
public boolean equals ( final Object obj )
{
  if ( ! ( obj instanceof JIComObjectImpl ) )
  {
    return false;
  }
  return this.ptr.getIPID ().equalsIgnoreCase ( ( (IJIComObject)obj ).getIpid () );
}
origin: org.jinterop/j-interop

public boolean equals(Object obj) {
  
  if (!(obj instanceof JIComObjectImpl))
  {
    return false;
  }
  
  return (this.ptr.getIPID().equalsIgnoreCase(((IJIComObject)obj).getIpid()));
}
 
origin: org.kohsuke.jinterop/j-interop

public boolean equals(Object obj) {
  
  if (!(obj instanceof JIComObjectImpl))
  {
    return false;
  }
  
  return (this.ptr.getIPID().equalsIgnoreCase(((IJIComObject)obj).getIpid()));
}
 
origin: org.jinterop/j-interop

IPID_SessionID_Holder holder = new IPID_SessionID_Holder(comObject.getIpid(),getSessionIdentifier(),false,oid);
addToSession(comObject.getIpid(),oid);
if (JISystem.getLogger().isLoggable(Level.INFO))
origin: org.openscada.jinterop/org.openscada.jinterop.core

/**
 * @exclude
 * @param IPID
 */
void addToSession ( final IJIComObject comObject, final byte[] oid )
{
  //nothing will be done if the session is being destroyed.
  if ( this.sessionInDestroy )
  {
    return;
  }
  final IPID_SessionID_Holder holder = new IPID_SessionID_Holder ( comObject.getIpid (), getSessionIdentifier (), false, oid );
  //mapOfObjects.put(new WeakReference(comObject,referenceQueueOfCOMObjects),holder);
  synchronized ( mapOfObjects )
  {
    mapOfObjects.put ( new WeakReference ( comObject, referenceQueueOfCOMObjects ), holder );
  }
  //setting if NO PING flag has been set to true.
  addToSession ( comObject.getIpid (), oid, ( (JIStdObjRef)comObject.internal_getInterfacePointer ().getObjectReference ( JIInterfacePointer.OBJREF_STANDARD ) ).getFlags () == 0x00001000 );
  logger.info ( "for IID: {}", comObject.getInterfaceIdentifier () );
  //		Integer value = (Integer)mapOfIPIDSvsCount.get(comObject.getIpid());
  //		if (value == null)
  //		{
  //			mapOfIPIDSvsCount.put(comObject.getIpid(), new Integer(0));
  //		}
  //		debug_addIpids(comObject.getIpid(),((JIStdObjRef)comObject.internal_getInterfacePointer().getObjectReference(JIInterfacePointer.OBJREF_STANDARD)).getPublicRefs());
}
origin: org.kohsuke.jinterop/j-interop

IPID_SessionID_Holder holder = new IPID_SessionID_Holder(comObject.getIpid(),getSessionIdentifier(),false,oid);
addToSession(comObject.getIpid(),oid,((JIStdObjRef)comObject.internal_getInterfacePointer().getObjectReference(JIInterfacePointer.OBJREF_STANDARD)).getFlags() == 0x00001000 );
if (JISystem.getLogger().isLoggable(Level.INFO))
origin: org.openscada.jinterop/org.openscada.jinterop.core

logger.info ( "Attaching event handler for  comObject: " + comObject.getInterfaceIdentifier () + " , sourceUUID: " + sourceUUID + " , eventListener: " + eventListener.getInterfaceIdentifier () + " and eventListner IPID: " + eventListener.getIpid () );
origin: org.kohsuke.jinterop/j-interop

JISystem.getLogger().info("Attaching event handler for  comObject: " + comObject.getInterfaceIdentifier() + " , sourceUUID: " + sourceUUID + " , eventListener: " + eventListener.getInterfaceIdentifier() + " and eventListner IPID: " + eventListener.getIpid());
origin: org.jinterop/j-interop

JISystem.getLogger().info("Attaching event handler for  comObject: " + comObject.getInterfaceIdentifier() + " , sourceUUID: " + sourceUUID + " , eventListener: " + eventListener.getInterfaceIdentifier() + " and eventListner IPID: " + eventListener.getIpid());
origin: org.jinterop/j-interop

JIRemUnknown dispatch = new JIRemUnknown(retval.getIpid(),"00020400-0000-0000-c000-000000000046");
try {
  call(Endpoint.IDEMPOTENT,dispatch);
origin: org.kohsuke.jinterop/j-interop

JIRemUnknown dispatch = new JIRemUnknown(retval.getIpid(),"00020400-0000-0000-c000-000000000046");
try {
  this.session.getStub2().call(Endpoint.IDEMPOTENT,dispatch);
origin: org.openscada.jinterop/org.openscada.jinterop.core

final JIRemUnknown dispatch = new JIRemUnknown ( retval.getIpid (), "00020400-0000-0000-c000-000000000046" );
try
org.jinterop.dcom.coreIJIComObjectgetIpid

Javadoc

Unique 128 bit uuid representing the interface on the COM server. This value can and should be used to map an IJIUnreferenced handler implementation to this COM Object.

Under NO circumstances should a reference to this COM object be stored any where for only purposes of "unreferenced" handling. This would hinder the way in which objects are garbage collected by the framework and this object would be forever "live".

Popular methods of IJIComObject

  • queryInterface
    Retrieve interface references based on iid. Make sure to narrow before casting to the expected type
  • call
    Refer #call(JICallBuilder) for details on this method.
  • getAssociatedSession
    Returns session associated with this object.
  • addRef
    Increases the reference count on the COM server by 5 (currently hard coded). The developer should r
  • getInstanceLevelSocketTimeout
    Returns the socket timeout set at the instance level. This timeout value is used during all socket l
  • getInterfaceIdentifier
    Returns the COM IID of this object
  • getUnreferencedHandler
    Returns the IJIUnreferenced handler associated with this object.
  • internal_getConnectionInfo
    Framework Internal Returns the ConnectionPoint (IJIComObject) and it's Cookie.
  • internal_getInterfacePointer
    Framework Internal Returns self Interface pointer.
  • internal_removeConnectionInfo
    Framework Internal Returns and Removes the connection info from the internal map.
  • internal_setConnectionInfo
    Adds a connection point information and it's cookie to the connectionPointMap internally. To be call
  • internal_setDeffered
    Framework Internal
  • internal_setConnectionInfo,
  • internal_setDeffered,
  • isDispatchSupported,
  • isLocalReference,
  • registerUnreferencedHandler,
  • release,
  • setInstanceLevelSocketTimeout,
  • unregisterUnreferencedHandler

Popular in Java

  • Making http post requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • setScale (BigDecimal)
  • getContentResolver (Context)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • 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