Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/org.eclipse.etrice.modellib.java/src-gen/room/basic/service/tcp/DTcpPayload.java')
-rw-r--r--runtime/org.eclipse.etrice.modellib.java/src-gen/room/basic/service/tcp/DTcpPayload.java63
1 files changed, 0 insertions, 63 deletions
diff --git a/runtime/org.eclipse.etrice.modellib.java/src-gen/room/basic/service/tcp/DTcpPayload.java b/runtime/org.eclipse.etrice.modellib.java/src-gen/room/basic/service/tcp/DTcpPayload.java
deleted file mode 100644
index 0bd40e08e..000000000
--- a/runtime/org.eclipse.etrice.modellib.java/src-gen/room/basic/service/tcp/DTcpPayload.java
+++ /dev/null
@@ -1,63 +0,0 @@
-package room.basic.service.tcp;
-
-
-
-
-public class DTcpPayload {
-
-
- /*--------------------- attributes ---------------------*/
- int connectionId;
- int length;
- byte data[];
-
- //--------------------- attribute setters and getters
- public void setConnectionId (int connectionId) {
- this.connectionId = connectionId;
- }
- public int getConnectionId () {
- return this.connectionId;
- }
- public void setLength (int length) {
- this.length = length;
- }
- public int getLength () {
- return this.length;
- }
- public void setData (byte[] data) {
- this.data = data;
- }
- public byte[] getData () {
- return this.data;
- }
-
- /*--------------------- operations ---------------------*/
-
- // default constructor
- public DTcpPayload() {
- super();
-
- // initialize attributes
- data = new byte[1000];
- }
-
- // constructor using fields
- public DTcpPayload(int connectionId, int length, byte[] data) {
- super();
-
- this.connectionId = connectionId;
- this.length = length;
- this.data = data;
- }
-
- // deep copy
- public DTcpPayload deepCopy() {
- DTcpPayload copy = new DTcpPayload();
- copy.connectionId = connectionId;
- copy.length = length;
- for (int i=0;i<data.length;i++){
- copy.data[i] = data[i];
- }
- return copy;
- }
-};

Back to the top