View Javadoc

1   /*
2    * Copyright (c) 2005, The K-Wf Grid Consortium
3    * Fraunhofer Institute for Computer Architecture and Software Technology
4    * See http://www.kwfgrid.eu and http://www.first.fraunhofer.de for more details.
5    */
6   package net.kwfgrid.gworkflowdl.protocol;
7   
8   import net.kwfgrid.gworkflowdl.protocol.calls.IMethodCall;
9   
10  import java.io.IOException;
11  
12  /***
13     Interface for an encoder of method calls.
14   */
15  public interface IMethodCallEncoder {
16      /***
17         Encode the given method call to a string.
18         @exception IOException If the call could not be encoded.
19       */
20      String encode(IMethodCall call) throws IOException;
21  }