Framework Professional Edition Package


com.prosyst.mbs.services.pmp
Interface RemoteObject


public interface RemoteObject

The client side representation of an object located on the remote Framework. Instances of this class can be received from the methods PMPConnection.getReference and RemoteMethod.invoke


Method Summary
 void dispose()
          Disposes the resources allocated for the remote object so that it would be no longer usable.
 RemoteMethod getMethod(java.lang.String name, java.lang.String[] args)
          Gets a reference to a method of the object associated with this RemoteObject.
 RemoteMethod[] getMethods()
          Dynamically gets references to all the methods of the object associated with this RemoteObject.
 

Method Detail

getMethods

RemoteMethod[] getMethods()
                          throws PMPException
Dynamically gets references to all the methods of the object associated with this RemoteObject.

Returns:
The references to the object's methods.
Throws:
PMPException - If an IOException or protocol error occured.

getMethod

RemoteMethod getMethod(java.lang.String name,
                       java.lang.String[] args)
                       throws PMPException
Gets a reference to a method of the object associated with this RemoteObject.

Parameters:
name - the method's name
args - the method's arguments types
Returns:
a reference to the requested method.
Throws:
PMPException - if an IOException, if a protocol error occured, or if there is no such method.

dispose

void dispose()
             throws PMPException
Disposes the resources allocated for the remote object so that it would be no longer usable.

Throws:
PMPException - if an IOException or protocol error occured.

Framework Professional Edition Package


Copyright © 1999-2007 ProSyst Software GmbH. All Rights Reserved