twcore.core
Class InterProcessCommunicator

java.lang.Object
  |
  +--twcore.core.InterProcessCommunicator

public class InterProcessCommunicator
extends java.lang.Object


Constructor Summary
InterProcessCommunicator()
          Creates a new instance of InterProcessCommunicator
 
Method Summary
 void broadcast(java.lang.String channelName, java.lang.String senderName, twcore.core.SubspaceBot bot, java.lang.Object o)
           
 boolean channelExists(java.lang.String channelName)
           
 void destroy(java.lang.String channel)
           
 java.lang.String[] getSubscribedChannels(twcore.core.SubspaceBot bot)
           
 void removeFromAll(twcore.core.SubspaceBot bot)
           
 void subscribe(java.lang.String channel, twcore.core.SubspaceBot bot)
           
 void unSubscribe(java.lang.String channel, twcore.core.SubspaceBot bot)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterProcessCommunicator

public InterProcessCommunicator()
Creates a new instance of InterProcessCommunicator

Method Detail

channelExists

public boolean channelExists(java.lang.String channelName)

broadcast

public void broadcast(java.lang.String channelName,
                      java.lang.String senderName,
                      twcore.core.SubspaceBot bot,
                      java.lang.Object o)

getSubscribedChannels

public java.lang.String[] getSubscribedChannels(twcore.core.SubspaceBot bot)

subscribe

public void subscribe(java.lang.String channel,
                      twcore.core.SubspaceBot bot)

unSubscribe

public void unSubscribe(java.lang.String channel,
                        twcore.core.SubspaceBot bot)

destroy

public void destroy(java.lang.String channel)

removeFromAll

public void removeFromAll(twcore.core.SubspaceBot bot)