Java Client functions
[bcusdk.git] / eibd / client / java / complete.inc
blob6335ead00151d59bba5ed127a516fdfb2beeb846
1 /*
2     EIBD client library
3     Copyright (C) 2005-2007 Martin Koegler <mkoegler@auto.tuwien.ac.at>
5     This program is free software; you can redistribute it and/or modify
6     it under the terms of the GNU General Public License as published by
7     the Free Software Foundation; either version 2 of the License, or
8     (at your option) any later version.
10     In addition to the permissions in the GNU General Public License, 
11     you may link the compiled version of this file into combinations
12     with other programs, and distribute those combinations without any 
13     restriction coming from the use of this file. (The General Public 
14     License restrictions do apply in other respects; for example, they 
15     cover modification of the file, and distribution when not linked into 
16     a combine executable.)
18     This program is distributed in the hope that it will be useful,
19     but WITHOUT ANY WARRANTY; without even the implied warranty of
20     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21     GNU General Public License for more details.
23     You should have received a copy of the GNU General Public License
24     along with this program; if not, write to the Free Software
25     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
28   private Buffer buf;
29   private Int16 ptr1;
30   private Int8 ptr2;
31   private Int8 ptr3;
32   private Int16 ptr4;
33   private EIBAddr ptr5;
34   private EIBAddr ptr6;
35   private short sendlen;
37   private interface _complete
38   {
39     int complete () throws IOException;
40   }
42   private _complete complete = null;
44   public int EIBComplete () throws IOException
45   {
46     return complete.complete ();
47   }