|
UDK 3.2.7 Java API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBridge
This is abstract interface for bridges.
Bridges are able to map one object from one UNO environment to another and vice versa.
IBridge
,
IQueryInterface
,
UnoRuntime
Method Summary | |
---|---|
void |
acquire()
Deprecated. Increases the life count. |
void |
dispose()
Deprecated. Disposes the bridge. |
IEnvironment |
getSourceEnvironment()
Deprecated. Returns the source environment. |
IEnvironment |
getTargetEnvironment()
Deprecated. Returns the destination environment. |
Object |
mapInterfaceFrom(Object object,
Type type)
Deprecated. Maps an object from the destination environment to the source environment. |
Object |
mapInterfaceTo(Object object,
Type type)
Deprecated. Maps an object from the source environment to the destination environment. |
void |
release()
Deprecated. Decreases the life count. |
Method Detail |
---|
Object mapInterfaceTo(Object object, Type type)
object
- the object to maptype
- the type of the interface that shall be mapped
Object mapInterfaceFrom(Object object, Type type)
object
- the object to maptype
- the type of the interface that shall be mapped
IEnvironment getSourceEnvironment()
IEnvironment getTargetEnvironment()
void acquire()
void release()
If the life count drops to zero, the bridge disposes itself.
void dispose() throws InterruptedException, IOException
Sends involved threads an InterruptedException
. Releases
mapped objects.
InterruptedException
IOException
|
UDK 3.2.7 Java API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |