public class HolePTestApp extends Object
| Constructor and Description |
|---|
HolePTestApp() |
| Modifier and Type | Method and Description |
|---|---|
void |
getOtherPeerAddress() |
void |
sendDirectMessage() |
void |
sendHolePMessage(int port) |
void |
startMasterPeer() |
void |
startNATPeer(String[] args) |
void |
startNormalPeer(String[] args) |
public void getOtherPeerAddress()
throws ClassNotFoundException,
IOException
ClassNotFoundExceptionIOExceptionpublic void sendHolePMessage(int port)
throws IOException
IOExceptionpublic void sendDirectMessage()
throws IOException
IOExceptionCopyright © 2015. All rights reserved.