C# Class System.ServiceModel.Discovery.Udp.UdpDuplexChannel

Inheritance: ChannelBase, IDuplexChannel
Datei anzeigen Open project: kumpera/mono Class Usage Examples

Public Methods

Method Description
BeginReceive ( AsyncCallback callback, object state ) : IAsyncResult
BeginReceive ( System.TimeSpan timeout, AsyncCallback callback, object state ) : IAsyncResult
BeginSend ( Message message, AsyncCallback callback, object state ) : IAsyncResult
BeginSend ( Message message, System.TimeSpan timeout, AsyncCallback callback, object state ) : IAsyncResult
BeginTryReceive ( System.TimeSpan timeout, AsyncCallback callback, object state ) : IAsyncResult
BeginWaitForMessage ( System.TimeSpan timeout, AsyncCallback callback, object state ) : IAsyncResult
EndReceive ( IAsyncResult result ) : Message
EndSend ( IAsyncResult result ) : void
EndTryReceive ( IAsyncResult result, Message &msg ) : bool
EndWaitForMessage ( IAsyncResult result ) : bool
FillMessageEncoder ( BindingContext ctx ) : void
Receive ( ) : Message
Receive ( System.TimeSpan timeout ) : Message
Send ( Message message ) : void
Send ( Message message, System.TimeSpan timeout ) : void
SendCore ( UdpClient cli, Message message, System.TimeSpan timeout ) : void
TryReceive ( System.TimeSpan timeout, Message &msg ) : bool
UdpDuplexChannel ( UdpChannelFactory factory, BindingContext context, EndpointAddress address, Uri via ) : System
UdpDuplexChannel ( UdpChannelListener listener ) : System
WaitForMessage ( System.TimeSpan timeout ) : bool

Protected Methods

Method Description
OnAbort ( ) : void
OnBeginClose ( System.TimeSpan timeout, AsyncCallback callback, object state ) : IAsyncResult
OnBeginOpen ( System.TimeSpan timeout, AsyncCallback callback, object state ) : IAsyncResult
OnClose ( System.TimeSpan timeout ) : void
OnEndClose ( IAsyncResult result ) : void
OnEndOpen ( IAsyncResult result ) : void
OnOpen ( System.TimeSpan timeout ) : void

Private Methods

Method Description
GetSenderClient ( Message message ) : UdpClient

Method Details

BeginReceive() public method

public BeginReceive ( AsyncCallback callback, object state ) : IAsyncResult
callback AsyncCallback
state object
return IAsyncResult

BeginReceive() public method

public BeginReceive ( System.TimeSpan timeout, AsyncCallback callback, object state ) : IAsyncResult
timeout System.TimeSpan
callback AsyncCallback
state object
return IAsyncResult

BeginSend() public method

public BeginSend ( Message message, AsyncCallback callback, object state ) : IAsyncResult
message Message
callback AsyncCallback
state object
return IAsyncResult

BeginSend() public method

public BeginSend ( Message message, System.TimeSpan timeout, AsyncCallback callback, object state ) : IAsyncResult
message Message
timeout System.TimeSpan
callback AsyncCallback
state object
return IAsyncResult

BeginTryReceive() public method

public BeginTryReceive ( System.TimeSpan timeout, AsyncCallback callback, object state ) : IAsyncResult
timeout System.TimeSpan
callback AsyncCallback
state object
return IAsyncResult

BeginWaitForMessage() public method

public BeginWaitForMessage ( System.TimeSpan timeout, AsyncCallback callback, object state ) : IAsyncResult
timeout System.TimeSpan
callback AsyncCallback
state object
return IAsyncResult

EndReceive() public method

public EndReceive ( IAsyncResult result ) : Message
result IAsyncResult
return Message

EndSend() public method

public EndSend ( IAsyncResult result ) : void
result IAsyncResult
return void

EndTryReceive() public method

public EndTryReceive ( IAsyncResult result, Message &msg ) : bool
result IAsyncResult
msg Message
return bool

EndWaitForMessage() public method

public EndWaitForMessage ( IAsyncResult result ) : bool
result IAsyncResult
return bool

FillMessageEncoder() public method

public FillMessageEncoder ( BindingContext ctx ) : void
ctx BindingContext
return void

OnAbort() protected method

protected OnAbort ( ) : void
return void

OnBeginClose() protected method

protected OnBeginClose ( System.TimeSpan timeout, AsyncCallback callback, object state ) : IAsyncResult
timeout System.TimeSpan
callback AsyncCallback
state object
return IAsyncResult

OnBeginOpen() protected method

protected OnBeginOpen ( System.TimeSpan timeout, AsyncCallback callback, object state ) : IAsyncResult
timeout System.TimeSpan
callback AsyncCallback
state object
return IAsyncResult

OnClose() protected method

protected OnClose ( System.TimeSpan timeout ) : void
timeout System.TimeSpan
return void

OnEndClose() protected method

protected OnEndClose ( IAsyncResult result ) : void
result IAsyncResult
return void

OnEndOpen() protected method

protected OnEndOpen ( IAsyncResult result ) : void
result IAsyncResult
return void

OnOpen() protected method

protected OnOpen ( System.TimeSpan timeout ) : void
timeout System.TimeSpan
return void

Receive() public method

public Receive ( ) : Message
return Message

Receive() public method

public Receive ( System.TimeSpan timeout ) : Message
timeout System.TimeSpan
return Message

Send() public method

public Send ( Message message ) : void
message Message
return void

Send() public method

public Send ( Message message, System.TimeSpan timeout ) : void
message Message
timeout System.TimeSpan
return void

SendCore() public method

public SendCore ( UdpClient cli, Message message, System.TimeSpan timeout ) : void
cli System.Net.Sockets.UdpClient
message Message
timeout System.TimeSpan
return void

TryReceive() public method

public TryReceive ( System.TimeSpan timeout, Message &msg ) : bool
timeout System.TimeSpan
msg Message
return bool

UdpDuplexChannel() public method

public UdpDuplexChannel ( UdpChannelFactory factory, BindingContext context, EndpointAddress address, Uri via ) : System
factory UdpChannelFactory
context BindingContext
address System.ServiceModel.EndpointAddress
via System.Uri
return System

UdpDuplexChannel() public method

public UdpDuplexChannel ( UdpChannelListener listener ) : System
listener UdpChannelListener
return System

WaitForMessage() public method

public WaitForMessage ( System.TimeSpan timeout ) : bool
timeout System.TimeSpan
return bool