EOS 2  1.1.0
Einfache Objektbasierte Sprache
Identification.java
gehe zur Dokumentation dieser Datei
1 package de.lathanda.eos.ev3.comm;
2 
3 import java.net.InetAddress;
4 
5 public class Identification {
6  private final String sn;
7  private InetAddress inetadress;
8  private String name;
9  private int port;
10  private String protocol;
11  public Identification(String sn) {
12  super();
13  this.sn = sn;
14  this.inetadress = null;
15  this.name = "EV3";
16  this.port = 5555;
17  this.protocol = "EV3";
18  }
19  public InetAddress getInetadress() {
20  return inetadress;
21  }
22  public void setInetadress(InetAddress inetadress) {
23  this.inetadress = inetadress;
24  }
25  public String getName() {
26  return name;
27  }
28  public void setName(String name) {
29  this.name = name;
30  }
31  public String getSn() {
32  return sn;
33  }
34  public int getPort() {
35  return port;
36  }
37  public void setPort(int port) {
38  this.port = port;
39  }
40  public String getProtocol() {
41  return protocol;
42  }
43  public void setProtocol(String protocol) {
44  this.protocol = protocol;
45  }
46 
47 }
void setInetadress(InetAddress inetadress)
Impressum