|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2001 Massachusetts Institute of Technology
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
$Source: /cvs/oki/org/okiproject/serviceapi/doc/rmi/org/okiproject/serviceapi/rmi/Client.html,v $
Method Summary | |
org.okiproject.serviceapi.common.Agent |
getForAgent()
This method gets the Agent for whom the Client acts. |
java.lang.String |
getHost()
This method gets the Host that this Client uses. |
java.lang.Integer |
getPort()
This method gets the Port that this Client uses. |
java.lang.String |
getService()
This method gets the Service that this Client uses. |
java.lang.Object |
invoke(java.io.Serializable object,
java.lang.String methodName,
java.lang.Class[] argTypes,
java.lang.Object[] args)
Given an object, a methodname, an array of method argument types, and an array of arguments, this method will invoke the method. |
java.lang.String |
test()
The test method sends a test object to the Server which returns a string that indicates that the test was successful or throws an exception. |
Method Detail |
public java.lang.String getHost()
public java.lang.Integer getPort()
public java.lang.String getService()
public org.okiproject.serviceapi.common.Agent getForAgent()
public java.lang.Object invoke(java.io.Serializable object, java.lang.String methodName, java.lang.Class[] argTypes, java.lang.Object[] args) throws java.lang.Exception
object
- methodName
- argTypes
- args
- public java.lang.String test() throws java.lang.Exception
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |