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

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

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

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

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

public JIInterfacePointer internal_getInterfacePointer()
{
  return comObject.internal_getInterfacePointer();
}
 
origin: org.kohsuke.jinterop/j-interop

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

@Override
public void serializeData ( final NetworkDataRepresentation ndr, final Object value, final List defferedPointers, final int FLAG )
{
  serialize ( ndr, JIInterfacePointer.class, ( (IJIComObject)value ).internal_getInterfacePointer (), defferedPointers, FLAG );
}
origin: org.jinterop/j-interop

public int getLengthInBytes(Object value,int FLAG)
{
  JIInterfacePointer interfacePointer = ((IJIComObject)value).internal_getInterfacePointer();
  return ((JIInterfacePointer)interfacePointer).getLength();
}
 
origin: org.openscada.jinterop/org.openscada.jinterop.core

void replaceMembers ( final IJIComObject comObject )
{
  this.session = comObject.getAssociatedSession ();
  this.ptr = comObject.internal_getInterfacePointer ();
}
origin: org.jinterop/j-interop

public void serializeData(NetworkDataRepresentation ndr,Object value,List defferedPointers,int FLAG)
{
  serialize(ndr, JIInterfacePointer.class, ((IJIComObject)value).internal_getInterfacePointer(), defferedPointers, FLAG);
}
 
origin: org.openscada.jinterop/org.openscada.jinterop.core

@Override
public int getLengthInBytes ( final Object value, final int FLAG )
{
  final JIInterfacePointer interfacePointer = ( (IJIComObject)value ).internal_getInterfacePointer ();
  return interfacePointer.getLength ();
}
origin: org.jinterop/j-interop

void replaceMembers(IJIComObject comObject)
{
  this.session = comObject.getAssociatedSession();
  this.ptr = comObject.internal_getInterfacePointer();
}
 
origin: org.kohsuke.jinterop/j-interop

void replaceMembers(IJIComObject comObject)
{
  this.session = comObject.getAssociatedSession();
  this.ptr = comObject.internal_getInterfacePointer();
}
 
origin: org.kohsuke.jinterop/j-interop

public int getLengthInBytes(Object value,int FLAG)
{
  JIInterfacePointer interfacePointer = ((IJIComObject)value).internal_getInterfacePointer();
  return ((JIInterfacePointer)interfacePointer).getLength();
}
origin: org.kohsuke.jinterop/j-interop

public void serializeData(NetworkDataRepresentation ndr,Object value,List defferedPointers,int FLAG)
{
  serialize(ndr, JIInterfacePointer.class, ((IJIComObject)value).internal_getInterfacePointer(), defferedPointers, FLAG);
}
origin: org.jinterop/j-interop

static void addComObjectToSession(JISession session,IJIComObject comObject)
{
  session.addToSession(comObject,comObject.internal_getInterfacePointer().getOID());
}
 
origin: org.kohsuke.jinterop/j-interop

static void addComObjectToSession(JISession session,IJIComObject comObject)
{
  session.addToSession(comObject,comObject.internal_getInterfacePointer().getOID());
}
origin: org.openscada.jinterop/org.openscada.jinterop.core

static void addComObjectToSession ( final JISession session, final IJIComObject comObject )
{
  session.addToSession ( comObject, comObject.internal_getInterfacePointer ().getOID () );
}
origin: org.openscada.jinterop/org.openscada.jinterop.core

private int getMaxLength2 ( final Class c, final Object obj )
{
  int length = 0;
  //since this is getMaxLength2 and hence will either contain
  //proper type 3 elements and not EMPTY,NULL,SCODE since these are parts of Variant.
  //and not simple types like Integer, JIUnsignedXXX or Float etc.
  if ( type3.contains ( c ) )
  {
    length = JIMarshalUnMarshalHelper.getLengthInBytes ( c, obj, this.FLAG );
  }
  else if ( c.equals ( Long.class ) || c.equals ( Double.class ) || c.equals ( Date.class ) || c.equals ( JICurrency.class ) )
  {
    length = 8;
  }
  else if ( c.equals ( JIString.class ) )
  {
    length = JIMarshalUnMarshalHelper.getLengthInBytes ( c, obj, this.FLAG );
  }
  else // for Interface pointers without
  if ( obj instanceof IJIComObject )
  {
    double value = ( (IJIComObject)obj ).internal_getInterfacePointer ().getLength ();
    value = value + 4 + 4 + 4; //20 of variant , 4 of the ptr, 4 of max count, 4 of actual count
  }
  return length;
}
origin: org.kohsuke.jinterop/j-interop

/** Typically used in the Man-In-The-Middle scenario, where one j-Interop system interacts with another over the wire.
 * Or the IJIComObject is deserialized from a Database and is right now drifting.
 *
 * @exclude
 * @param session
 * @param comObject
 * @return
 * @throws JIException
 */
public static IJIComObject instantiateComObject(JISession session,IJIComObject comObject) throws JIException
{
  if (comObject.getAssociatedSession() != null)
  {
    throw new IllegalArgumentException(JISystem.getLocalizedMessage(JIErrorCodes.JI_SESSION_ALREADY_ATTACHED));
  }
  if (comObject.isLocalReference())
  {
    throw new IllegalArgumentException(JISystem.getLocalizedMessage(JIErrorCodes.JI_COMOBJ_LOCAL_REF));
  }
  return instantiateComObject(session, comObject.internal_getInterfacePointer());
}
origin: org.jinterop/j-interop

/** Typically used in the Man-In-The-Middle scenario, where one j-Interop system interacts with another over the wire. 
 * Or the IJIComObject is deserialized from a Database and is right now drifting.
 * 
 * @exclude
 * @param session
 * @param comObject
 * @return
 * @throws JIException
 */
public static IJIComObject instantiateComObject(JISession session,IJIComObject comObject) throws JIException
{
  if (comObject.getAssociatedSession() != null)
  {
    throw new IllegalArgumentException(JISystem.getLocalizedMessage(JIErrorCodes.JI_SESSION_ALREADY_ATTACHED));
  }
  
  if (comObject.isLocalReference())
  {
    throw new IllegalArgumentException(JISystem.getLocalizedMessage(JIErrorCodes.JI_COMOBJ_LOCAL_REF));
  }
  
  return instantiateComObject(session, comObject.internal_getInterfacePointer());
}
 
origin: org.openscada.jinterop/org.openscada.jinterop.core

/**
 * Typically used in the Man-In-The-Middle scenario, where one j-Interop
 * system interacts with another over the wire.
 * Or the IJIComObject is deserialized from a Database and is right now
 * drifting.
 * 
 * @exclude
 * @param session
 * @param comObject
 * @return
 * @throws JIException
 */
public static IJIComObject instantiateComObject ( final JISession session, final IJIComObject comObject ) throws JIException
{
  if ( comObject.getAssociatedSession () != null )
  {
    throw new IllegalArgumentException ( JISystem.getLocalizedMessage ( JIErrorCodes.JI_SESSION_ALREADY_ATTACHED ) );
  }
  if ( comObject.isLocalReference () )
  {
    throw new IllegalArgumentException ( JISystem.getLocalizedMessage ( JIErrorCodes.JI_COMOBJ_LOCAL_REF ) );
  }
  return instantiateComObject ( session, comObject.internal_getInterfacePointer () );
}
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());
}
org.jinterop.dcom.coreIJIComObjectinternal_getInterfacePointer

Javadoc

Framework Internal Returns self Interface pointer.

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
  • getIpid
    Unique 128 bit uuid representing the interface on the COM server. This value can and should be used
  • getUnreferencedHandler
    Returns the IJIUnreferenced handler associated with this object.
  • internal_getConnectionInfo
    Framework Internal Returns the ConnectionPoint (IJIComObject) and it's Cookie.
  • 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

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • getResourceAsStream (ClassLoader)
  • getSharedPreferences (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • 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