01: /* ----- BEGIN LICENSE BLOCK -----
02: * Version: MPL 1.1
03: *
04: * The contents of this file are subject to the Mozilla Public License Version
05: * 1.1 (the "License"); you may not use this file except in compliance with
06: * the License. You may obtain a copy of the License at
07: * http://www.mozilla.org/MPL/
08: *
09: * Software distributed under the License is distributed on an "AS IS" basis,
10: * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11: * for the specific language governing rights and limitations under the
12: * License.
13: *
14: * The Original Code was the Rendezvous client.
15: * The Code is now DataShare.
16: *
17: * The Initial Developer of the Original Code is
18: * Ball Aerospace & Technologies Corp, Fairborn, Ohio
19: * Portions created by the Initial Developer are Copyright (C) 2001
20: * the Initial Developer. All Rights Reserved.
21: *
22: * Contributor(s): Charles Wood <cwood@ball.com>
23: *
24: * ----- END LICENSE BLOCK ----- */
25: /* RCS $Id: ClientDataReceiverInterface.java,v 1.1 2002/01/03 03:21:36 lizellaman Exp $
26: * $Log: ClientDataReceiverInterface.java,v $
27: * Revision 1.1 2002/01/03 03:21:36 lizellaman
28: * existing file, moved to client package
29: *
30: * Revision 1.1.1.1 2001/10/23 13:43:47 lizellaman
31: * initial sourceforge release
32: *
33: */
34:
35: package org.datashare.client;
36:
37: import org.datashare.objects.DataShareObject;
38:
39: public interface ClientDataReceiverInterface {
40: /**
41: * this method will be called when data is received
42: */
43: public void dataReceived(DataShareObject dso);
44:
45: /**
46: * this method is called when the data connection has been lost,
47: * this will be used to notify anybody that cares...
48: */
49: public void connectionLost(DataShareConnection dsc);
50: }
|