infosapient.client
Class InfoSapientClientImpl

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--infosapient.client.InfoSapientClientImpl

public class InfoSapientClientImpl
extends java.rmi.server.UnicastRemoteObject
implements InfoSapientClient

InfoSapientClientImpl is a convienence class that implements all behavior required of a InfoSapient. All the user of an InfoSapient has to do is to implement the infosapient.system.Observer interface, supply the server name, host and port within a Properties object, and supply the knowlegbase, goal and the supporting attributes within a Properties object.
License to use this program is provided under the COMMON PUBLIC LICENSE 0.5 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. Creation date: (04/08/01 10:13:17 AM)

Version:
$Revision: 1.1.1.1 $
See Also:
Serialized Form

Field Summary
private  java.util.Properties connect
          Properties object used for connection to InfoSapientService
private  java.rmi.server.ObjID id
          ObjID -- used for unique object idenitfication across networks
private  Observable observableHandler
          The handler to pass messages to the actual client requesting them
private  java.rmi.server.ObjID recipient
          ObjID used as unique identifier for client we are talking to.
private  InfoSapientService service
          InfoSapientService that we are using as a mediator to send the message to the client
 
Fields inherited from class java.rmi.server.UnicastRemoteObject
csf, port, portFactoryParamTypes, portParamTypes, serialVersionUID, ssf
 
Fields inherited from class java.rmi.server.RemoteServer
log, logname, serialVersionUID
 
Fields inherited from class java.rmi.server.RemoteObject
ref, serialVersionUID
 
Constructor Summary
InfoSapientClientImpl()
           
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
, clone, exportObject, exportObject, exportObject, exportObject, readObject, reexport, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub, writeObject
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

connect

private java.util.Properties connect
Properties object used for connection to InfoSapientService

id

private java.rmi.server.ObjID id
ObjID -- used for unique object idenitfication across networks

service

private InfoSapientService service
InfoSapientService that we are using as a mediator to send the message to the client

recipient

private java.rmi.server.ObjID recipient
ObjID used as unique identifier for client we are talking to.

observableHandler

private Observable observableHandler
The handler to pass messages to the actual client requesting them
Constructor Detail

InfoSapientClientImpl

public InfoSapientClientImpl()

License to use this program is provided under the TERMS OF THE COMMON PUBLIC LICENSE 0.5. ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

Copyright (c) 2001, Workplace Performance Tools, All Rights Reserved