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
-
MMPCenter()
-
-
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.
-
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.
-
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.
-
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.
-
broadcast(MMPPacket)
- Sends a MMP packet to all remote MMP instances known
by this MMP center.
-
broadcast(UNA, MMPPacket)
- Sends a MMP packet to all remote MMP instances which are
connected to the given local MMP instance.
-
close()
- Closes this Message Center including all its connections.
-
close(UNA)
- Closes every connection associated with the specified remote MMP instance
and possible sub-instances.
-
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.
-
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.
-
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.
-
getAllRemotes()
- Returns a Enumeration with all remote MMP instances known
by this MMP center.
-
getAllRemotes(UNA)
- Returns a Enumeration with all remote MMP instances known
by this MMP center which are connected to the specified
local MMP instance.
-
getListenLocations()
- Returns an Array of Locations this MMPCenter is listen on.
-
getLocal(UNA)
- Returns the local Address associated with the specified remote
MMP instance.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
send(UNA, MMPPacket)
- Sends a MMP packet to the given remote MMP instance
for the actual local root MMP instance.
-
send(UNA, UNA, MMPPacket)
- Sends a MMP packet to the given remote MMP instance
for the specfied local MMP instance.
-
setManager(MMPPacketManager)
- Set the MMPPacketManager for the actual local root MMP instance,
which is called by this MMPCenter if it delivers some MMP event.
-
usingProtocols()
- Returns a Value containing a list of Protocols used by this MMPCenter.
MMPCenter
public MMPCenter()
usingProtocols
public abstract Value usingProtocols()
- Returns a Value containing a list of Protocols used by this MMPCenter.
getListenLocations
public abstract UNA[] getListenLocations()
- Returns an Array of Locations this MMPCenter is listen on.
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.
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.
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.
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.
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.
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.
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.
close
public abstract void close()
- Closes this Message Center including all its connections.
close
public abstract void close(UNA remote)
- Closes every connection associated with the specified remote MMP instance
and possible sub-instances.
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.
getLocal
public abstract UNA getLocal(UNA remote)
- Returns the local Address associated with the specified remote
MMP instance.
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.
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.
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.
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.
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.
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.
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.
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.
getAllRemotes
public abstract Enumeration getAllRemotes()
- Returns a Enumeration with all remote MMP instances known
by this MMP center.
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.
broadcast
public abstract void broadcast(MMPPacket packet)
- Sends a MMP packet to all remote MMP instances known
by this MMP center.
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