org.okiproject.serviceapi.rmi
Class RmiFactory
java.lang.Object
|
+--org.okiproject.serviceapi.rmi.RmiFactory
- All Implemented Interfaces:
- java.io.Serializable
- public class RmiFactory
- extends java.lang.Object
- implements java.io.Serializable
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.
- See Also:
Client
,
$Source: /cvs/oki/org/okiproject/serviceapi/doc/rmi/org/okiproject/serviceapi/rmi/RmiFactory.html,v $
, Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RmiFactory
public RmiFactory()
getDefaultRmiFactory
public static RmiFactory getDefaultRmiFactory(org.okiproject.serviceapi.common.Agent owner,
java.lang.String host,
java.lang.Integer port,
java.lang.String server)
throws java.lang.Exception
getRmiFactory
public static RmiFactory getRmiFactory(org.okiproject.serviceapi.common.Agent owner,
java.lang.String host,
java.lang.Integer port,
java.lang.String server,
java.util.Properties properties)
throws java.lang.Exception
getProperties
public java.util.Properties getProperties()
- Returns:
- Properties.
getOwner
public org.okiproject.serviceapi.common.Agent getOwner()
- Returns:
- owner.
getHost
public java.lang.String getHost()
- Returns:
- host.
getPort
public java.lang.Integer getPort()
- Returns:
- port.
getClient
public Client getClient()
getServer
public Server getServer()