Unsupported library that attempts to punch holes through NAT
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

CommsAgent.java 423B

1234567891011121314151617181920212223242526
  1. /*
  2. * To change this template, choose Tools | Templates
  3. * and open the template in the editor.
  4. */
  5. package com.md87.nat;
  6. import java.net.InetAddress;
  7. /**
  8. *
  9. * @author chris
  10. */
  11. public interface CommsAgent {
  12. void sendNATType(final NatType type);
  13. NatType readNATType();
  14. void sendAddress(final InetAddress address);
  15. void sendPort(final int port);
  16. InetAddress readAddress();
  17. int readPort();
  18. }