net.tomp2p.examples
Class ExampleNATChat

java.lang.Object
  extended by net.tomp2p.examples.ExampleNATChat

public class ExampleNATChat
extends Object


Constructor Summary
ExampleNATChat()
           
 
Method Summary
static void main(String[] args)
           
static void startClientNAT(String ip)
           
 void startServer(String addr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleNATChat

public ExampleNATChat()
Method Detail

startServer

public void startServer(String addr)
                 throws Exception
Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

startClientNAT

public static void startClientNAT(String ip)
                           throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.