C# Class XmlRpc_Wrapper.XmlRpcServer

Inheritance: IDisposable
Show file Open project: uml-robotics/ROS.NET Class Usage Examples

Public Methods

Method Description
AddMethod ( XmlRpcServerMethod method ) : void
BindAndListen ( int port ) : bool
BindAndListen ( int port, int backlog ) : bool
Exit ( ) : void
FindMethod ( string name ) : XmlRpcServerMethod
HandleEvent ( XmlRpcDispatch eventType ) : XmlRpcDispatch.EventType
RemoveMethod ( XmlRpcServerMethod method ) : void
RemoveMethod ( string name ) : void
Shutdown ( ) : void
Work ( double msTime ) : void
enableIntrospection ( bool enabled ) : void
executeMethod ( string methodName, XmlRpcValue parms, XmlRpcValue result ) : bool
executeMulticall ( string methodNameRoot, XmlRpcValue parms, XmlRpcValue result ) : bool
executeRequest ( string _request ) : string
generateFaultResponse ( string errorMsg, int errorCode = -1 ) : string
generateResponse ( string resultXml ) : string
getSocket ( ) : Socket
removeConnection ( XmlRpcServerConnection sc ) : void

Private Methods

Method Description
acceptConnection ( ) : void
createConnection ( Socket s ) : XmlRpcServerConnection
exit ( ) : void
generateHeader ( string body ) : string
listMethods ( XmlRpcValue result ) : void
parseRequest ( XmlRpcValue parms, string _request ) : string
shutdown ( ) : void

Method Details

AddMethod() public method

public AddMethod ( XmlRpcServerMethod method ) : void
method XmlRpcServerMethod
return void

BindAndListen() public method

public BindAndListen ( int port ) : bool
port int
return bool

BindAndListen() public method

public BindAndListen ( int port, int backlog ) : bool
port int
backlog int
return bool

Exit() public method

public Exit ( ) : void
return void

FindMethod() public method

public FindMethod ( string name ) : XmlRpcServerMethod
name string
return XmlRpcServerMethod

HandleEvent() public method

public HandleEvent ( XmlRpcDispatch eventType ) : XmlRpcDispatch.EventType
eventType XmlRpcDispatch
return XmlRpcDispatch.EventType

RemoveMethod() public method

public RemoveMethod ( XmlRpcServerMethod method ) : void
method XmlRpcServerMethod
return void

RemoveMethod() public method

public RemoveMethod ( string name ) : void
name string
return void

Shutdown() public method

public Shutdown ( ) : void
return void

Work() public method

public Work ( double msTime ) : void
msTime double
return void

enableIntrospection() public method

public enableIntrospection ( bool enabled ) : void
enabled bool
return void

executeMethod() public method

public executeMethod ( string methodName, XmlRpcValue parms, XmlRpcValue result ) : bool
methodName string
parms XmlRpcValue
result XmlRpcValue
return bool

executeMulticall() public method

public executeMulticall ( string methodNameRoot, XmlRpcValue parms, XmlRpcValue result ) : bool
methodNameRoot string
parms XmlRpcValue
result XmlRpcValue
return bool

executeRequest() public method

public executeRequest ( string _request ) : string
_request string
return string

generateFaultResponse() public method

public generateFaultResponse ( string errorMsg, int errorCode = -1 ) : string
errorMsg string
errorCode int
return string

generateResponse() public method

public generateResponse ( string resultXml ) : string
resultXml string
return string

getSocket() public method

public getSocket ( ) : Socket
return Socket

removeConnection() public method

public removeConnection ( XmlRpcServerConnection sc ) : void
sc XmlRpcServerConnection
return void