com.ibm.maf.rmi
Class MAFAgentSystem_RMIImpl

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--com.ibm.maf.rmi.MAFAgentSystem_RMIImpl
All Implemented Interfaces:
MAFAgentSystem_RMI, java.rmi.Remote, java.io.Serializable

public class MAFAgentSystem_RMIImpl
extends java.rmi.server.UnicastRemoteObject
implements MAFAgentSystem_RMI

See Also:
Serialized Form

Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
MAFAgentSystem_RMIImpl(MAFAgentSystem __maf)
           
 
Method Summary
 Name create_agent(Name agent_name, AgentProfile agent_profile, byte[] agent, java.lang.String place_name, java.lang.Object[] arguments, ClassName[] class_names, java.lang.String code_base, MAFAgentSystem_RMI rmi_class_provider)
           
 byte[][] fetch_class(ClassName[] class_name_list, java.lang.String code_base, AgentProfile agent_profile)
           
 java.lang.String find_nearby_agent_system_of_profile(AgentProfile profile)
           
 AgentStatus get_agent_status(Name agent_name)
           
 AgentSystemInfo get_agent_system_info()
           
 AuthInfo get_authinfo(Name agent_name)
           
 MAFFinder get_MAFFinder()
           
 Name[] list_all_agents_of_authority(byte[] authority)
           
 Name[] list_all_agents()
           
 java.lang.String[] list_all_places()
           
 void receive_agent(Name agent_name, AgentProfile agent_profile, byte[] agent, java.lang.String place_name, ClassName[] class_names, java.lang.String code_base, MAFAgentSystem_RMI rmi_class_sender)
           
 long receive_future_message(Name agent_name, byte[] msg, MAFAgentSystem_RMI message_sender)
           
 void receive_future_reply(long return_id, byte[] reply)
           
 byte[] receive_message(Name agent_name, byte[] msg)
          Messaging
 void receive_oneway_message(Name agent_name, byte[] msg)
           
 void resume_agent(Name agent_name)
           
 byte[] retract_agent(Name agent_name)
          Aglet Specific
 void suspend_agent(Name agent_name)
           
 void terminate_agent(Name agent_name)
           
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, 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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MAFAgentSystem_RMIImpl

public MAFAgentSystem_RMIImpl(MAFAgentSystem __maf)
                       throws java.rmi.RemoteException
Method Detail

create_agent

public Name create_agent(Name agent_name,
                         AgentProfile agent_profile,
                         byte[] agent,
                         java.lang.String place_name,
                         java.lang.Object[] arguments,
                         ClassName[] class_names,
                         java.lang.String code_base,
                         MAFAgentSystem_RMI rmi_class_provider)
                  throws java.rmi.RemoteException
Specified by:
create_agent in interface MAFAgentSystem_RMI

fetch_class

public byte[][] fetch_class(ClassName[] class_name_list,
                            java.lang.String code_base,
                            AgentProfile agent_profile)
                     throws java.rmi.RemoteException
Specified by:
fetch_class in interface MAFAgentSystem_RMI

find_nearby_agent_system_of_profile

public java.lang.String find_nearby_agent_system_of_profile(AgentProfile profile)
                                                     throws java.rmi.RemoteException
Specified by:
find_nearby_agent_system_of_profile in interface MAFAgentSystem_RMI

get_agent_status

public AgentStatus get_agent_status(Name agent_name)
                             throws java.rmi.RemoteException
Specified by:
get_agent_status in interface MAFAgentSystem_RMI

get_agent_system_info

public AgentSystemInfo get_agent_system_info()
                                      throws java.rmi.RemoteException
Specified by:
get_agent_system_info in interface MAFAgentSystem_RMI

get_authinfo

public AuthInfo get_authinfo(Name agent_name)
                      throws java.rmi.RemoteException
Specified by:
get_authinfo in interface MAFAgentSystem_RMI

get_MAFFinder

public MAFFinder get_MAFFinder()
                        throws java.rmi.RemoteException
Specified by:
get_MAFFinder in interface MAFAgentSystem_RMI

list_all_agents

public Name[] list_all_agents()
                       throws java.rmi.RemoteException
Specified by:
list_all_agents in interface MAFAgentSystem_RMI

list_all_agents_of_authority

public Name[] list_all_agents_of_authority(byte[] authority)
                                    throws java.rmi.RemoteException
Specified by:
list_all_agents_of_authority in interface MAFAgentSystem_RMI

list_all_places

public java.lang.String[] list_all_places()
                                   throws java.rmi.RemoteException
Specified by:
list_all_places in interface MAFAgentSystem_RMI

receive_agent

public void receive_agent(Name agent_name,
                          AgentProfile agent_profile,
                          byte[] agent,
                          java.lang.String place_name,
                          ClassName[] class_names,
                          java.lang.String code_base,
                          MAFAgentSystem_RMI rmi_class_sender)
                   throws java.rmi.RemoteException
Specified by:
receive_agent in interface MAFAgentSystem_RMI

receive_future_message

public long receive_future_message(Name agent_name,
                                   byte[] msg,
                                   MAFAgentSystem_RMI message_sender)
                            throws java.rmi.RemoteException
Specified by:
receive_future_message in interface MAFAgentSystem_RMI

receive_future_reply

public void receive_future_reply(long return_id,
                                 byte[] reply)
                          throws java.rmi.RemoteException
Specified by:
receive_future_reply in interface MAFAgentSystem_RMI

receive_message

public byte[] receive_message(Name agent_name,
                              byte[] msg)
                       throws java.rmi.RemoteException
Messaging
Specified by:
receive_message in interface MAFAgentSystem_RMI

receive_oneway_message

public void receive_oneway_message(Name agent_name,
                                   byte[] msg)
                            throws java.rmi.RemoteException
Specified by:
receive_oneway_message in interface MAFAgentSystem_RMI

resume_agent

public void resume_agent(Name agent_name)
                  throws java.rmi.RemoteException
Specified by:
resume_agent in interface MAFAgentSystem_RMI

retract_agent

public byte[] retract_agent(Name agent_name)
                     throws java.rmi.RemoteException
Description copied from interface: MAFAgentSystem_RMI
Aglet Specific
Specified by:
retract_agent in interface MAFAgentSystem_RMI

suspend_agent

public void suspend_agent(Name agent_name)
                   throws java.rmi.RemoteException
Specified by:
suspend_agent in interface MAFAgentSystem_RMI

terminate_agent

public void terminate_agent(Name agent_name)
                     throws java.rmi.RemoteException
Specified by:
terminate_agent in interface MAFAgentSystem_RMI