Serialized Form


Package ksu.cis.mom

Class ksu.cis.mom.Agent extends MomObject implements Serializable

Serialized Fields

broadcast_queue

Vector broadcast_queue
Message queue for broadcast conversation.


components

Vector components
Vector of internal components that are active.


multicast_queue

Vector multicast_queue
Message queue for multicast conversation.


secure_multicast_queue

Vector secure_multicast_queue
Message queue for secured multicast conversation.

Class ksu.cis.mom.Component extends MomObject implements Serializable

Serialized Fields

m

Message m
Message used for internal/external communication.


name

String name
Name of the component.


internalMessages

Vector internalMessages
Message queue for internal communication. It stores message that will be used for communication with other components.


externalMessages

Vector externalMessages
Message queue for external communication. It stores message that will be used to make conversation with other agents.

Class ksu.cis.mom.Message extends Object implements Serializable

Serialized Fields

host

String host
Host name that this message is sent to.


port

int port
Port number used for the message.


sender

String sender
Name of the sender (agent's name).


receiver

String receiver
Name of the receiver


performative

String performative
Describe the action that the message intends. The user can define any performative they feel are necessary.


force

String force
Specify whether the sender will never deny the meaning of the performative.


inreplyto

String inreplyto
The expected label in a reply


language

String language
Name of representation language of the content.


ontology

String ontology
Name of the ontoloty used in the content


replywith

String replywith
Whether the sender expects a reply, and if so, a label for the reply.


content

Object content
Support for complex object that encapsulates a number of attribute types. These complex objects can be used to pass multiple parameters in a single message. Note that in order to pass an object across a socket connection, it must implement the interface Serializable.

Class ksu.cis.mom.MomObject extends Object implements Serializable

Serialized Fields

parent

MomObject parent

name

String name
Name of the agent.


port

int port
Port used for unicast conversation.


multicast_port

int[] multicast_port
Array of port number used for multicast conversation. Note that each port is used for each subscribed multicast group.


broadcast_port

int broadcast_port
Port used for broadcast conversation.


secure_unicast_port

int secure_unicast_port
Port used for secured unicast conversation.


secure_multicast_port

int[] secure_multicast_port
Array of port number used for secured multicast conversation. Note that each port is used for each subscribed secured multicast group.


group

InetAddress[] group
Array of InetAddress type used for storing the address of multicast group. Note that array is used to allow subscribing to multiple group.


broadcast_address

InetAddress broadcast_address
Internet address of the broadcast address. Normally, local broadcast address is end with 255 (xxx.xxx.xxx.255). However, broadcast address is not available in all network. Many networks do not permit the broadcast. Please consult the admin about the availability.