4 * Class Domain provides methods for work with the ORTE domain.
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.
24 package org.ocera.orte;
25 import org.ocera.orte.types.*;
28 public abstract class Domain {
30 /** load native library 'libjorte.so' */
32 System.loadLibrary("jorte");
36 protected long handle;
37 protected long domainEventsContextHandle = 0;
38 protected DomainProp props;
39 protected DomainEvents events;
45 // initialization of ORTE layer
47 //System.out.println(":j: instance of 'Domain' created ..");
52 * Get handle of the Domain.
53 * @return Handle of the Domain.
55 public long getHandle()
62 * @return Handle of the Domain.
64 public abstract boolean destroy();
67 /* ****************************************************************** *
71 * ****************************************************************** */
76 * @param dhandle handler to domain
82 void jORTEDomainStart(long dhandle,
83 boolean recvMetatrafficThread,
84 boolean recvUserDataThread,