|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.koala.DCOPObjectProxy
public class DCOPObjectProxy
You must use a proxy if you want to dispatch method calls for object IDs which don't have (yet) a corresponding DCOPObject. This is somewhat like object references in CORBA.
DCOPObject
,
DCOPClient
Constructor Summary | |
---|---|
|
DCOPObjectProxy()
Creates a new proxy. |
protected |
DCOPObjectProxy(java.lang.Class dummy)
|
Method Summary | |
---|---|
void |
dispose()
Delete the wrapped C++ instance ahead of finalize() |
protected void |
finalize()
Deletes the wrapped C++ instance |
boolean |
isDisposed()
Has the wrapped C++ instance been deleted? |
boolean |
process(java.lang.String arg1,
java.lang.String fun,
byte[] data,
java.lang.StringBuffer replyType,
byte[] replyData)
Reimplement this method to dispatch method calls. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DCOPObjectProxy(java.lang.Class dummy)
public DCOPObjectProxy()
Method Detail |
---|
public boolean process(java.lang.String arg1, java.lang.String fun, byte[] data, java.lang.StringBuffer replyType, byte[] replyData)
obj.
If the first proxy returns
true
, the DCOPClient will no longer call other proxies.
The object id obj
may be empty for app-wide function calls no
associated with any object.
obj
- the id of the objectfun
- is the normalized function signature.
Such a signature usually looks like
foobar(String,int). The return type,
qualifiers like "const" etc. are not part of
the signature.data
- the received datareplyType
- write the reply type in this stringreplyData
- write the reply data in this array
protected void finalize() throws java.lang.InternalError
finalize
in class java.lang.Object
java.lang.InternalError
public void dispose()
public boolean isDisposed()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |