@@ -0,0 +1,744 @@
+package pro.simpleproject.core.intra.model;%0A%0Aimport pro.simpleproject.core.intra.client.Client;%0A%0Apublic class IntraContact %7B%0A%0A%09private String address;%0A%09private int port;%0A%09private Client client;%0A%0A%09public IntraContact(String address, int port) %7B%0A%09%09this.address = address;%0A%09%09this.port = port;%0A%09%7D%0A%0A%09public IntraContact(String address) %7B%0A%09%09this(address, 0);%0A%09%7D%0A%0A%09public String getAddress() %7B%0A%09%09return address;%0A%09%7D%0A%0A%09public void setPort(int port) %7B%0A%09%09this.port = port;%0A%09%7D%0A%0A%09public int getPort() %7B%0A%09%09return port;%0A%09%7D%0A%0A%09public Client getClient() %7B%0A%09%09if (client == null) %7B%0A%09%09%09if (port == 0) %7B%0A%09%09%09%09return null;%0A%09%09%09%7D%0A%09%09%09client = new Client(address, port);%0A%09%09%7D%0A%09%09return client;%0A%09%7D%0A%0A%09public void close() %7B%0A%09%09if (client != null) %7B%0A%09%09%09client.close();%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Create IntraContact.java