Class DirectPeerPool
java.lang.Object
VASSAL.chat.peer2peer.DirectPeerPool
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addEntry()
protected void
addToList
(VASSAL.chat.peer2peer.DirectPeerPool.Entry e) void
connectFailed
(org.litesoft.p2pchat.PeerInfo peerInfo) void
protected void
void
initComponents
(P2PPlayer me, org.litesoft.p2pchat.PendingPeerManager ppm) void
initialize
(P2PPlayer myInfo, org.litesoft.p2pchat.PendingPeerManager ppm) void
initializeControls
(ChatServerControls controls) Register all event listenersprotected void
invite
(org.litesoft.p2pchat.PendingPeerManager ppm) protected void
protected void
void
uninitializeControls
(ChatServerControls controls) Remove all previously-registered event listeners
-
Field Details
-
ADDRESS_PREF
- See Also:
-
-
Constructor Details
-
DirectPeerPool
public DirectPeerPool() -
DirectPeerPool
-
-
Method Details
-
initialize
public void initialize(P2PPlayer myInfo, org.litesoft.p2pchat.PendingPeerManager ppm) throws IOException - Specified by:
initialize
in interfacePeerPool
- Throws:
IOException
-
disconnect
public void disconnect()- Specified by:
disconnect
in interfacePeerPool
-
connectFailed
public void connectFailed(org.litesoft.p2pchat.PeerInfo peerInfo) - Specified by:
connectFailed
in interfacePeerPool
-
initComponents
-
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
Description copied from interface:ChatControlsInitializer
Register all event listeners- Specified by:
initializeControls
in interfaceChatControlsInitializer
-
uninitializeControls
Description copied from interface:ChatControlsInitializer
Remove all previously-registered event listeners- Specified by:
uninitializeControls
in interfaceChatControlsInitializer
-