33 |
|
|
34 |
namespace DotGNU.DGEE.Protocols |
namespace DotGNU.DGEE.Protocols |
35 |
{ |
{ |
36 |
public abstract class ProtocolService |
public class ProtocolService |
37 |
{ |
{ |
38 |
static protected IProtocolHandler handler; |
static protected IProtocolHandler handler; |
39 |
static protected bool dgeeDebug = false; |
static protected bool dgeeDebug = false; |
40 |
|
|
41 |
|
|
42 |
/// this method is the entry point for the pnetvm |
/// this method is the entry point for the pnetvm |
43 |
public static String DGEE_run( String []args ) |
public static String DGEE_run( String []args ) |
44 |
{ |
{ |
100 |
minfo = ac.ResolveMethod( type, |
minfo = ac.ResolveMethod( type, |
101 |
(method != null) ? method : ((XmlRpcMethod)rMethod).Name); |
(method != null) ? method : ((XmlRpcMethod)rMethod).Name); |
102 |
|
|
103 |
Object result = minfo.Invoke( null, rMethod.ToArray() ); |
Object result = minfo.Invoke(null, ((XmlRpcMethod)rMethod).ToArray() ); |
104 |
|
|
105 |
// Send reply back via the Protocol's response handler |
// Send reply back via the Protocol's response handler |
106 |
// implementation |
// implementation |