All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class lava.net.mmp.MMPCenter

java.lang.Object
   |
   +----lava.net.mmp.MMPCenter

public abstract class MMPCenter
extends Object

Constructor Index

 o MMPCenter()

Method Index

 o assignVariable(UNA, String, Value)
Assigns a MMP variable to the given Value for the specified remote MMP instance for the actual local root MMP instance.
 o assignVariable(UNA, UNA, String, Value)
Assigns a MMP variable to the given Value for the specified remote MMP instance for the specfied local MMP instance.
 o augmentVariable(UNA, String, Value)
Augments a MMP variable with the given Value for the specified remote MMP instance for the actual local root MMP instance.
 o augmentVariable(UNA, UNA, String, Value)
Augments a MMP variable with the given Value for the specified remote MMP instance for the specfied local MMP instance.
 o broadcast(MMPPacket)
Sends a MMP packet to all remote MMP instances known by this MMP center.
 o broadcast(UNA, MMPPacket)
Sends a MMP packet to all remote MMP instances which are connected to the given local MMP instance.
 o close()
Closes this Message Center including all its connections.
 o close(UNA)
Closes every connection associated with the specified remote MMP instance and possible sub-instances.
 o close(UNA, UNA)
Closes every connection associated with the specified remote MMP instance and possible sub-instances and the specified local MMP instance and possible sub-instances.
 o diminishVariable(UNA, String, Value)
Diminishes a MMP variable with the given Value for the specified remote MMP instance for the actual local root MMP instance.
 o diminishVariable(UNA, UNA, String, Value)
Diminishes a MMP variable with the given Value for the specified remote MMP instance for the specfied local MMP instance.
 o getAllRemotes()
Returns a Enumeration with all remote MMP instances known by this MMP center.
 o getAllRemotes(UNA)
Returns a Enumeration with all remote MMP instances known by this MMP center which are connected to the specified local MMP instance.
 o getListenLocations()
Returns an Array of Locations this MMPCenter is listen on.
 o getLocal(UNA)
Returns the local Address associated with the specified remote MMP instance.
 o getValue(UNA, String)
Returns the Value of the specified variable set by the specified remote MMP instance for the actual local root MMP instance.
Returns null, if the remote instance isnīt known or the variable does not exist.
 o getValue(UNA, UNA, String)
Returns the Value of the specified variable set by the specified remote MMP instance for the specified local MMP instance.
Returns null, if the remote instance isnīt known or the variable does not exist.
 o getVars(UNA)
Returns an Array of Names of all MMP variables set by the specified remote MMP instance for the actual local root MMP instance.
Returns null, if the remote instance isnīt known.
 o getVars(UNA, UNA)
Returns an Array of Names of all MMP variables set by the specified remote MMP instance for the specified local MMP instance.
Returns null, if the remote instance isnīt known.
 o removeValue(UNA, String)
Removes the specified variable set by the specified remote MMP instance for the actual local root MMP instance.
Returns null, if the remote instance isnīt known or the variable does not exist.
Returns the removed Value of the variable else.
 o removeValue(UNA, UNA, String)
Removes the specified variable set by the specified remote MMP instance for the specified local MMP instance.
Returns null, if the remote instance isnīt known or the variable does not exist.
Returns the removed Value of the variable else.
 o send(UNA, MMPPacket)
Sends a MMP packet to the given remote MMP instance for the actual local root MMP instance.
 o send(UNA, UNA, MMPPacket)
Sends a MMP packet to the given remote MMP instance for the specfied local MMP instance.
 o setManager(MMPPacketManager)
Set the MMPPacketManager for the actual local root MMP instance, which is called by this MMPCenter if it delivers some MMP event.
 o usingProtocols()
Returns a Value containing a list of Protocols used by this MMPCenter.

Constructors

 o MMPCenter
 public MMPCenter()

Methods

 o usingProtocols
 public abstract Value usingProtocols()
Returns a Value containing a list of Protocols used by this MMPCenter.

 o getListenLocations
 public abstract UNA[] getListenLocations()
Returns an Array of Locations this MMPCenter is listen on.

 o setManager
 public abstract void setManager(MMPPacketManager manager)
Set the MMPPacketManager for the actual local root MMP instance, which is called by this MMPCenter if it delivers some MMP event.

 o getVars
 public abstract String[] getVars(UNA remote)
Returns an Array of Names of all MMP variables set by the specified remote MMP instance for the actual local root MMP instance.
Returns null, if the remote instance isnīt known.

 o getVars
 protected abstract String[] getVars(UNA remote,
                                     UNA local)
Returns an Array of Names of all MMP variables set by the specified remote MMP instance for the specified local MMP instance.
Returns null, if the remote instance isnīt known.

 o getValue
 public abstract Value getValue(UNA remote,
                                String name)
Returns the Value of the specified variable set by the specified remote MMP instance for the actual local root MMP instance.
Returns null, if the remote instance isnīt known or the variable does not exist.

 o getValue
 protected abstract Value getValue(UNA remote,
                                   UNA local,
                                   String name)
Returns the Value of the specified variable set by the specified remote MMP instance for the specified local MMP instance.
Returns null, if the remote instance isnīt known or the variable does not exist.

 o removeValue
 public abstract Value removeValue(UNA remote,
                                   String name)
Removes the specified variable set by the specified remote MMP instance for the actual local root MMP instance.
Returns null, if the remote instance isnīt known or the variable does not exist.
Returns the removed Value of the variable else.

 o removeValue
 protected abstract Value removeValue(UNA remote,
                                      UNA local,
                                      String name)
Removes the specified variable set by the specified remote MMP instance for the specified local MMP instance.
Returns null, if the remote instance isnīt known or the variable does not exist.
Returns the removed Value of the variable else.

 o close
 public abstract void close()
Closes this Message Center including all its connections.

 o close
 public abstract void close(UNA remote)
Closes every connection associated with the specified remote MMP instance and possible sub-instances.

 o close
 protected abstract void close(UNA remote,
                               UNA local)
Closes every connection associated with the specified remote MMP instance and possible sub-instances and the specified local MMP instance and possible sub-instances.

 o getLocal
 public abstract UNA getLocal(UNA remote)
Returns the local Address associated with the specified remote MMP instance.

 o assignVariable
 public abstract void assignVariable(UNA remote,
                                     String name,
                                     Value value)
Assigns a MMP variable to the given Value for the specified remote MMP instance for the actual local root MMP instance.

 o assignVariable
 protected abstract void assignVariable(UNA remote,
                                        UNA local,
                                        String name,
                                        Value value)
Assigns a MMP variable to the given Value for the specified remote MMP instance for the specfied local MMP instance.

 o augmentVariable
 public abstract void augmentVariable(UNA remote,
                                      String name,
                                      Value value)
Augments a MMP variable with the given Value for the specified remote MMP instance for the actual local root MMP instance.

 o augmentVariable
 protected abstract void augmentVariable(UNA remote,
                                         UNA local,
                                         String name,
                                         Value value)
Augments a MMP variable with the given Value for the specified remote MMP instance for the specfied local MMP instance.

 o diminishVariable
 public abstract void diminishVariable(UNA remote,
                                       String name,
                                       Value value)
Diminishes a MMP variable with the given Value for the specified remote MMP instance for the actual local root MMP instance.

 o diminishVariable
 protected abstract void diminishVariable(UNA remote,
                                          UNA local,
                                          String name,
                                          Value value)
Diminishes a MMP variable with the given Value for the specified remote MMP instance for the specfied local MMP instance.

 o send
 public abstract void send(UNA remote,
                           MMPPacket packet)
Sends a MMP packet to the given remote MMP instance for the actual local root MMP instance.

 o send
 protected abstract void send(UNA remote,
                              UNA local,
                              MMPPacket packet)
Sends a MMP packet to the given remote MMP instance for the specfied local MMP instance.

 o getAllRemotes
 public abstract Enumeration getAllRemotes()
Returns a Enumeration with all remote MMP instances known by this MMP center.

 o getAllRemotes
 protected abstract Enumeration getAllRemotes(UNA local)
Returns a Enumeration with all remote MMP instances known by this MMP center which are connected to the specified local MMP instance.

 o broadcast
 public abstract void broadcast(MMPPacket packet)
Sends a MMP packet to all remote MMP instances known by this MMP center.

 o broadcast
 protected abstract void broadcast(UNA local,
                                   MMPPacket packet)
Sends a MMP packet to all remote MMP instances which are connected to the given local MMP instance.


All Packages  Class Hierarchy  This Package  Previous  Next  Index