C# 클래스 Brunet.Services.XmlRpc.XmlRpcManagerServer

.NET Remoting service that hosts the XmlRpcManager instances.
파일 보기 프로젝트 열기: pstjuste/brunet 1 사용 예제들

공개 메소드들

메소드 설명
Add ( CookComputing.XmlRpc.Node node ) : void

Adds the specified node to listen to XMLRPC proxy calls.

Uses a node's string version of Brunet address plus ".rem" as the relative Uri.

Add ( CookComputing.XmlRpc.Node node, string uri ) : void

Allows nodes to be registered by whatever URI the user provides

Remove ( CookComputing.XmlRpc.Node node ) : void

Stops the specified node from listening to XMLRPC proxy calls.

RemoveAll ( ) : void

Suspends the service objects.

Stop ( ) : void

Stops this server.

XmlRpcManagerServer ( int port ) : System

Initializes a new instance of the XmlRpcManagerServer class and registers it at the specified port on local machine.

비공개 메소드들

메소드 설명
Add ( CookComputing.XmlRpc.Node node, RpcManager rpc, string uri ) : void

The overloaded method for now is used to allow RpcManager to be replaced by MockRpcManager in unit tests.

CheckAndSetDefaultManager ( ) : void

Checks and sets the default XmlRpcManager. Should only be called by Add and Remove.

메소드 상세

Add() 공개 메소드

Adds the specified node to listen to XMLRPC proxy calls.
Uses a node's string version of Brunet address plus ".rem" as the relative Uri.
public Add ( CookComputing.XmlRpc.Node node ) : void
node CookComputing.XmlRpc.Node The node.
리턴 void

Add() 공개 메소드

Allows nodes to be registered by whatever URI the user provides
public Add ( CookComputing.XmlRpc.Node node, string uri ) : void
node CookComputing.XmlRpc.Node
uri string
리턴 void

Remove() 공개 메소드

Stops the specified node from listening to XMLRPC proxy calls.
public Remove ( CookComputing.XmlRpc.Node node ) : void
node CookComputing.XmlRpc.Node The node.
리턴 void

RemoveAll() 공개 메소드

Suspends the service objects.
public RemoveAll ( ) : void
리턴 void

Stop() 공개 메소드

Stops this server.
public Stop ( ) : void
리턴 void

XmlRpcManagerServer() 공개 메소드

Initializes a new instance of the XmlRpcManagerServer class and registers it at the specified port on local machine.
public XmlRpcManagerServer ( int port ) : System
port int The port.
리턴 System