public final class JIFrameworkHelper extends Object
| Constructor and Description |
|---|
JIFrameworkHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
attachEventHandler(IJIComObject comObject,
String sourceUUID,
IJIComObject eventListener) |
static void |
detachEventHandler(IJIComObject comObject,
String identifier) |
static IJIComObject |
instantiateComObject(JISession session,
byte[] rawBytes,
String ipAddress)
Returns an Interface Pointer representation from raw bytes.
|
static IJIComObject |
instantiateComObject(JISession session,
IJIComObject comObject)
Typically used in the Man-In-The-Middle scenario, where one j-Interop system interacts with another over the wire.
|
static IJIComObject |
instantiateLocalComObject(JISession session,
JILocalCoClass javaComponent)
Returns an Interface Pointer representation for the Java Component
|
static int |
reverseArrayForDispatch(JIArray arrayToReverse) |
public static IJIComObject instantiateLocalComObject(JISession session, JILocalCoClass javaComponent) throws JIException
javaComponent - JIExceptionpublic static IJIComObject instantiateComObject(JISession session, byte[] rawBytes, String ipAddress) throws JIException
session - rawBytes - JIExceptionpublic static IJIComObject instantiateComObject(JISession session, IJIComObject comObject) throws JIException
session - comObject - JIExceptionpublic static void detachEventHandler(IJIComObject comObject, String identifier) throws JIException
comObject - identifier - JIExceptionpublic static String attachEventHandler(IJIComObject comObject, String sourceUUID, IJIComObject eventListener) throws JIException
comObject - sourceUUID - eventListener - JIExceptionpublic static int reverseArrayForDispatch(JIArray arrayToReverse)
Copyright © 2017 LSST. All rights reserved.