public class SubscribeClientConversation extends Conversation
BoundSymbolObject.Symbols
Modifier and Type | Field and Description |
---|---|
(package private) String |
expression |
private static CasaLispOperator |
SUBSCRIBE_CONVERSATION |
agent, knownConversations, lock, sourceFile
children, name, symbols
Constructor and Description |
---|
SubscribeClientConversation(String name) |
SubscribeClientConversation(String name,
Conversation parent) |
SubscribeClientConversation(String name,
TransientAgent ownerAgent,
URLDescriptor to,
String expression,
String filter)
tells the server that we are interested in events represented by the lisp expression
|
Modifier and Type | Method and Description |
---|---|
PerformDescriptor |
update_subscribe(MLMessage msg) |
protected void |
update(URLDescriptor agentB,
Term exp) |
addChild, addPolicy, addSubConversation, applyPolicies, bindVar, bindVarExpression, bindVarTo, compareTo, copyTo, deleteSelf, destroy, findConversation, getApplicablePolicies, getChild, getChildConversations, getId, getKnownConversations, getParent, getPolicies, getSourceFile, getState, getSymbolMap, getVar, instantiate, isTemplate, setName, setParent, setSourceFile, setState, toString, toString
bindValue, bindVarTo, clearChildren, clone, extendEnv, getChildren, getMap, getName, setParent
String expression
private static final CasaLispOperator SUBSCRIBE_CONVERSATION
public SubscribeClientConversation(String name)
name
- public SubscribeClientConversation(String name, Conversation parent)
name
- parent
- public SubscribeClientConversation(String name, TransientAgent ownerAgent, URLDescriptor to, String expression, String filter) throws IllegalOperationException
name
- the name of the lisp function defining a conversation to execute (Ex. "--subscription-request")ownerAgent
- the agent that is interested in the eventto
- the server that will let ownerAgent know about the eventexpression
- the lisp expression for the eventfilter
- IllegalOperationException
public PerformDescriptor update_subscribe(MLMessage msg)
protected void update(URLDescriptor agentB, Term exp)