All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class lava.net.mmp.MMPMultiplexer

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

public class MMPMultiplexer
extends MMPCenter
implements MMPPacketManager

Constructor Index

 o MMPMultiplexer(String, MMPPacketManager, MMPCenter)

Method Index

 o assignVariable(UNA, String, Value)
 o assignVariable(UNA, UNA, String, Value)
 o augmentVariable(UNA, String, Value)
 o augmentVariable(UNA, UNA, String, Value)
 o broadcast(MMPPacket)
 o broadcast(UNA, MMPPacket)
 o close()
 o close(UNA)
 o close(UNA, UNA)
 o diminishVariable(UNA, String, Value)
 o diminishVariable(UNA, UNA, String, Value)
 o error(MMPException, UNA, UNA, MMPPacket)
 o getAllRemotes()
 o getAllRemotes(UNA)
 o getGreetingBody(UNA, UNA)
 o getListenLocations()
 o getLocal(UNA)
 o getValue(UNA, String)
 o getValue(UNA, UNA, String)
 o getVars(UNA)
 o getVars(UNA, UNA)
 o manage(MMPPacket)
 o removeValue(UNA, String)
 o removeValue(UNA, UNA, String)
 o send(UNA, MMPPacket)
 o send(UNA, UNA, MMPPacket)
 o setManager(MMPPacketManager)
 o setManager(String, MMPPacketManager)
TODO: security problem?
 o usingProtocols()

Constructors

 o MMPMultiplexer
 public MMPMultiplexer(String name,
                       MMPPacketManager manager,
                       MMPCenter center)

Methods

 o usingProtocols
 public Value usingProtocols()
Overrides:
usingProtocols in class MMPCenter
 o getListenLocations
 public UNA[] getListenLocations()
Overrides:
getListenLocations in class MMPCenter
 o setManager
 public void setManager(MMPPacketManager manager)
Overrides:
setManager in class MMPCenter
 o setManager
 public void setManager(String name,
                        MMPPacketManager manager)
TODO: security problem?

 o getVars
 public String[] getVars(UNA remote)
Overrides:
getVars in class MMPCenter
 o getVars
 protected String[] getVars(UNA remote,
                            UNA local)
Overrides:
getVars in class MMPCenter
 o getValue
 public Value getValue(UNA remote,
                       String name)
Overrides:
getValue in class MMPCenter
 o getValue
 protected Value getValue(UNA remote,
                          UNA local,
                          String name)
Overrides:
getValue in class MMPCenter
 o removeValue
 public Value removeValue(UNA remote,
                          String name)
Overrides:
removeValue in class MMPCenter
 o removeValue
 protected Value removeValue(UNA remote,
                             UNA local,
                             String name)
Overrides:
removeValue in class MMPCenter
 o close
 public void close()
Overrides:
close in class MMPCenter
 o close
 protected void close(UNA remote,
                      UNA local)
Overrides:
close in class MMPCenter
 o close
 public void close(UNA remote)
Overrides:
close in class MMPCenter
 o getGreetingBody
 public String getGreetingBody(UNA remote,
                               UNA local)
 o error
 public void error(MMPException e,
                   UNA remote,
                   UNA local,
                   MMPPacket packet)
 o manage
 public void manage(MMPPacket packet)
 o getLocal
 public UNA getLocal(UNA remote)
Overrides:
getLocal in class MMPCenter
 o assignVariable
 public void assignVariable(UNA remote,
                            String name,
                            Value value)
Overrides:
assignVariable in class MMPCenter
 o assignVariable
 protected void assignVariable(UNA remote,
                               UNA local,
                               String name,
                               Value value)
Overrides:
assignVariable in class MMPCenter
 o augmentVariable
 public void augmentVariable(UNA remote,
                             String name,
                             Value value)
Overrides:
augmentVariable in class MMPCenter
 o augmentVariable
 protected void augmentVariable(UNA remote,
                                UNA local,
                                String name,
                                Value value)
Overrides:
augmentVariable in class MMPCenter
 o diminishVariable
 public void diminishVariable(UNA remote,
                              String name,
                              Value value)
Overrides:
diminishVariable in class MMPCenter
 o diminishVariable
 protected void diminishVariable(UNA remote,
                                 UNA local,
                                 String name,
                                 Value value)
Overrides:
diminishVariable in class MMPCenter
 o send
 public void send(UNA remote,
                  MMPPacket packet)
Overrides:
send in class MMPCenter
 o send
 protected void send(UNA remote,
                     UNA local,
                     MMPPacket packet)
Overrides:
send in class MMPCenter
 o getAllRemotes
 public Enumeration getAllRemotes()
Overrides:
getAllRemotes in class MMPCenter
 o getAllRemotes
 protected Enumeration getAllRemotes(UNA local)
Overrides:
getAllRemotes in class MMPCenter
 o broadcast
 public void broadcast(MMPPacket packet)
Overrides:
broadcast in class MMPCenter
 o broadcast
 protected void broadcast(UNA local,
                          MMPPacket packet)
Overrides:
broadcast in class MMPCenter

All Packages  Class Hierarchy  This Package  Previous  Next  Index