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