Метод | Описание | |
---|---|---|
Register ( ITransport transport ) : void |
Register a new transport implementation.
|
|
Send ( IRequest request ) : void | ||
Send ( IResponse response ) : void | ||
Start ( ) : void |
Start layer.
|
|
TransportLayer ( |
Initializes a new instance of the TransportLayer class.
|
Метод | Описание | |
---|---|---|
CreateEndPoint ( IRequest request ) : |
Create a endpoint for the destination that should be reached.
|
Метод | Описание | |
---|---|---|
GetMessage ( IRequest request ) : string | ||
GetMessage ( IResponse response ) : string | ||
OnRequest ( object sender, RequestEventArgs e ) : void | ||
OnResponse ( object sender, ResponseEventArgs e ) : void |
protected CreateEndPoint ( IRequest request ) : |
||
request | IRequest | Request to send |
Результат |
public Register ( ITransport transport ) : void | ||
transport | ITransport | |
Результат | void |
public TransportLayer ( |
||
messageFactory | ||
Результат | System |