1 /*$Id: Delegate.java,v 1.4 2004/03/15 01:30:29 nw Exp $
2 * Created on 06-Feb-2004
3 *
4 * Copyright (C) AstroGrid. All rights reserved.
5 *
6 * This software is published under the terms of the AstroGrid
7 * Software License version 1.2, a copy of which has been included
8 * with this distribution in the LICENSE.txt file.
9 *
10 **/
11 package org.astrogrid.jes.delegate;
12 /*** Interface common to all delegate objects.
13 * @author Noel Winstanley nw@jb.man.ac.uk 06-Feb-2004
14 *
15 */
16 public interface Delegate {
17 /*** pass this as the target endpoint to return a 'test' delegate */
18 public final static String TEST_URI = "urn:test";
19 // public abstract void setTargetEndPoint(String targetEndPoint);
20 /*** access the endpoint this delegate will communicate with */
21 public abstract String getTargetEndPoint();
22 /*** configure the timeout for communications to the service */
23 public abstract void setTimeout(int timeout);
24 /*** retreive the timeout value for communications to the service */
25 public abstract int getTimeout();
26 }
27 /*
28 $Log: Delegate.java,v $
29 Revision 1.4 2004/03/15 01:30:29 nw
30 jazzed up javadoc
31
32 Revision 1.3 2004/02/27 00:46:03 nw
33 merged branch nww-itn05-bz#91
34
35 Revision 1.2.2.1 2004/02/17 12:25:38 nw
36 improved javadocs for classes
37
38 Revision 1.2 2004/02/09 11:41:44 nw
39 merged in branch nww-it05-bz#85
40
41 Revision 1.1.2.1 2004/02/06 18:11:21 nw
42 reworked the delegate classes
43 - introduced wrapper class and interfaces, plus separate impl
44 package with abstract base class. moved delegate classes into the correct
45 packages, deprecated old methods / classes. fitted in castor object model
46
47 */