1234567891011121314151617181920212223242526 |
- /*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
-
- package com.md87.nat;
-
- import java.net.InetAddress;
-
- /**
- *
- * @author chris
- */
- public interface CommsAgent {
-
- void sendNATType(final NatType type);
-
- NatType readNATType();
-
- void sendAddress(final InetAddress address);
- void sendPort(final int port);
-
- InetAddress readAddress();
- int readPort();
-
- }
|