Class DirectPeerPool

java.lang.Object
VASSAL.chat.peer2peer.DirectPeerPool
All Implemented Interfaces:
PeerPool, ChatControlsInitializer

public class DirectPeerPool extends Object implements PeerPool, ChatControlsInitializer
Date: Mar 12, 2003
  • Field Details

  • Constructor Details

    • DirectPeerPool

      public DirectPeerPool()
    • DirectPeerPool

      public DirectPeerPool(Properties param)
  • Method Details

    • initialize

      public void initialize(P2PPlayer myInfo, org.litesoft.p2pchat.PendingPeerManager ppm) throws IOException
      Specified by:
      initialize in interface PeerPool
      Throws:
      IOException
    • disconnect

      public void disconnect()
      Specified by:
      disconnect in interface PeerPool
    • connectFailed

      public void connectFailed(org.litesoft.p2pchat.PeerInfo peerInfo)
      Specified by:
      connectFailed in interface PeerPool
    • initComponents

      public void initComponents(P2PPlayer me, org.litesoft.p2pchat.PendingPeerManager ppm)
    • invite

      protected void invite(org.litesoft.p2pchat.PendingPeerManager ppm)
    • addEntry

      protected void addEntry()
    • addToList

      protected void addToList(VASSAL.chat.peer2peer.DirectPeerPool.Entry e)
    • editEntry

      protected void editEntry()
    • removeEntries

      protected void removeEntries()
    • saveAddressBook

      protected void saveAddressBook()
    • initializeControls

      public void initializeControls(ChatServerControls controls)
      Description copied from interface: ChatControlsInitializer
      Register all event listeners
      Specified by:
      initializeControls in interface ChatControlsInitializer
    • uninitializeControls

      public void uninitializeControls(ChatServerControls controls)
      Description copied from interface: ChatControlsInitializer
      Remove all previously-registered event listeners
      Specified by:
      uninitializeControls in interface ChatControlsInitializer