C# Class Appcelerator.Service

Mostrar archivo Open project: appcelerator/entourage Class Usage Examples

Public Methods

Method Description
InvokeServiceHandler ( Message request, Message response, System.Web.SessionState.HttpSessionState session, HttpResponse httpresponse ) : void

Invokes the appropriate service handler (registered using a ServiceAttribute)

Service ( String request, String response, MethodInfo methodInfo ) : System

Creates an Appcelerator Service

Method Details

InvokeServiceHandler() public method

Invokes the appropriate service handler (registered using a ServiceAttribute)
public InvokeServiceHandler ( Message request, Message response, System.Web.SessionState.HttpSessionState session, HttpResponse httpresponse ) : void
request Message
response Message
session System.Web.SessionState.HttpSessionState
httpresponse System.Web.HttpResponse
return void

Service() public method

Creates an Appcelerator Service
public Service ( String request, String response, MethodInfo methodInfo ) : System
request String The service request string (e.g. "my.message.request")
response String The service response string (e.g. "my.message.response")
methodInfo System.Reflection.MethodInfo The MethodInfo object describing the method to invoke upon receiving a request
return System