6 * @author Lukas Pokorny (lukas_pokorny@centrum.cz)
7 * @author CTU FEE Prague - Department of Control Engineering (dce.felk.cvut.cz)
8 * @author Project ORTE - OCERA Real Time Ethernet (www.ocera.org)
9 * @author dedication to Kj
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
25 package org.ocera.orte.types;
27 //import java.net.Inet4Address;
32 * TODO To change the template for this generated type comment go to
33 * Window - Preferences - Java - Code Style - Code Templates
36 /* TODO - naucit se delat s poli JAVA/JNI */
41 // private Inet4Address[] unicastIPList;
42 private byte unicastIPcount;
43 // private Inet4Address[] multicastIPList;
44 private byte multicastIPcount;
45 private long metatrafficUniPort;
46 private long userdataUniPort;
47 private VendorId vendorId;
48 private ProtocolVersion protocolVersion;
57 public long getHostId()
62 public long getAppId()
67 public byte getUnicastIPcount()
69 return this.unicastIPcount;
72 public byte getMulticastIPcount()
74 return this.multicastIPcount;
77 public long getMetatrafficUniPort()
79 return this.metatrafficUniPort;
82 public long getUserdataUniPort()
84 return this.userdataUniPort;
87 public VendorId getVendorId()
92 public ProtocolVersion getProtocolVersion()
94 return this.protocolVersion;