C# Class Netronics.Channel.ChannelPipe

SetProtocolSetHandler를 사용할 수 있는 IChannelPipe
Inheritance: IChannelPipe
Mostrar archivo Open project: shlee322/Netronics Class Usage Examples

Public Methods

Method Description
CreateChannel ( Netronics netronics, Socket socket ) : IChannel
CreateChannelPipe ( IChannelHandler handler ) : ChannelPipe
CreateChannelPipe ( IPacketEncoder encoder, IPacketDecoder decoder, IChannelHandler handler ) : ChannelPipe
SetCreateChannelAction ( Action action ) : ChannelPipe

Method Details

CreateChannel() public method

public CreateChannel ( Netronics netronics, Socket socket ) : IChannel
netronics Netronics
socket System.Net.Sockets.Socket
return IChannel

CreateChannelPipe() public static method

public static CreateChannelPipe ( IChannelHandler handler ) : ChannelPipe
handler IChannelHandler
return ChannelPipe

CreateChannelPipe() public static method

public static CreateChannelPipe ( IPacketEncoder encoder, IPacketDecoder decoder, IChannelHandler handler ) : ChannelPipe
encoder IPacketEncoder
decoder IPacketDecoder
handler IChannelHandler
return ChannelPipe

SetCreateChannelAction() public method

public SetCreateChannelAction ( Action action ) : ChannelPipe
action Action
return ChannelPipe