|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
A custom channel sink. Embeds addressing details into requests.
Embeds the following values in the remoting headers Key - Value
Field Summary | |
---|---|
System.Runtime.Remoting.Channels.IClientChannelSink | _next |
Naanou.LookupService.Node | _node |
Constructor Summary | |
---|---|
NClientSink(System.Runtime.Remoting.Channels.IClientChannelSink nextSink, Naanou.LookupService.Node node) Constructor |
Property Summary | |
---|---|
System.Runtime.Remoting.Channels.IClientChannelSink |
NextChannelSink
Gets or sets the next channel sink |
Properties inherited from class System.Runtime.Remoting.Channels.BaseChannelObjectWithProperties |
---|
Count, IsFixedSize, IsReadOnly, IsSynchronized, Item, Keys, Properties, SyncRoot, Values |
Method Summary | |
---|---|
void |
AsyncProcessRequest(System.Runtime.Remoting.Channels.IClientChannelSinkStack sinkStack, System.Runtime.Remoting.Messaging.IMessage msg, System.Runtime.Remoting.Channels.ITransportHeaders headers, System.IO.Stream stream) Async'ly process a request |
void |
AsyncProcessResponse(System.Runtime.Remoting.Channels.IClientResponseChannelSinkStack sinkStack, object state, System.Runtime.Remoting.Channels.ITransportHeaders headers, System.IO.Stream stream) Async'ly process a response |
System.IO.Stream |
GetRequestStream(System.Runtime.Remoting.Messaging.IMessage msg, System.Runtime.Remoting.Channels.ITransportHeaders headers) Gets request stream |
void | InjectHeaders(System.Runtime.Remoting.Channels.ITransportHeaders headers) |
void |
ProcessMessage(System.Runtime.Remoting.Messaging.IMessage msg, System.Runtime.Remoting.Channels.ITransportHeaders requestHeaders, System.IO.Stream requestStream, System.Runtime.Remoting.Channels.ITransportHeaders responseHeaders, System.IO.Stream responseStream) Process a message |
Methods inherited from class System.Runtime.Remoting.Channels.BaseChannelObjectWithProperties |
---|
Add, Clear, Contains, CopyTo, GetEnumerator, IEnumerable.GetEnumerator, Remove |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Field Detail |
---|
private System.Runtime.Remoting.Channels.IClientChannelSink _next
private Naanou.LookupService.Node _node
Constructor Detail |
---|
public NClientSink(System.Runtime.Remoting.Channels.IClientChannelSink nextSink, Naanou.LookupService.Node node)
Constructor
Parameters:
nextSink
- Next sinknode
- AddressProperty Detail |
---|
public System.Runtime.Remoting.Channels.IClientChannelSink NextChannelSink
Gets or sets the next channel sink
Method Detail |
---|
public void AsyncProcessRequest(System.Runtime.Remoting.Channels.IClientChannelSinkStack sinkStack, System.Runtime.Remoting.Messaging.IMessage msg, System.Runtime.Remoting.Channels.ITransportHeaders headers, System.IO.Stream stream)
Async'ly process a request
Parameters:
sinkStack
- Sink statckmsg
- Message to processheaders
- Headersstream
- Data streampublic void AsyncProcessResponse(System.Runtime.Remoting.Channels.IClientResponseChannelSinkStack sinkStack, object state, System.Runtime.Remoting.Channels.ITransportHeaders headers, System.IO.Stream stream)
Async'ly process a response
Parameters:
sinkStack
- Sinkstate
- Stateheaders
- Headersstream
- Streampublic System.IO.Stream GetRequestStream(System.Runtime.Remoting.Messaging.IMessage msg, System.Runtime.Remoting.Channels.ITransportHeaders headers)
Gets request stream
Parameters:
msg
- Messageheaders
- Headersprivate void InjectHeaders(System.Runtime.Remoting.Channels.ITransportHeaders headers)
public void ProcessMessage(System.Runtime.Remoting.Messaging.IMessage msg, System.Runtime.Remoting.Channels.ITransportHeaders requestHeaders, System.IO.Stream requestStream, System.Runtime.Remoting.Channels.ITransportHeaders responseHeaders, System.IO.Stream responseStream)
Process a message
Parameters:
msg
- MessagerequestHeaders
- Request headersrequestStream
- Request data streamresponseHeaders
- Response headersresponseStream
- Response data stream
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |