Instance Propertyswift-nio 2.72.0NIOTestUtils
channelWritabilityChangedCalls
Returns the number of channelWritabilityChanged
events seen so far in the ChannelPipeline
.
var channelWritabilityChangedCalls: Int { get }
Other members in extension
Types
Typealiases
Type members
Instance members
var bindCalls: Int
Returns the number of
bind
events seen so far in theChannelPipeline
.var channelActiveCalls: Int
Returns the number of
channelActive
events seen so far in theChannelPipeline
.var channelInactiveCalls: Int
Returns the number of
channelInactive
events seen so far in theChannelPipeline
.var channelReadCalls: Int
Returns the number of
channelRead
events seen so far in theChannelPipeline
.var channelReadCompleteCalls: Int
Returns the number of
channelReadComplete
events seen so far in theChannelPipeline
.var channelRegisteredCalls: Int
Returns the number of
channelRegistered
events seen so far in theChannelPipeline
.var channelUnregisteredCalls: Int
Returns the number of
channelUnregistered
events seen so far in theChannelPipeline
.var closeCalls: Int
Returns the number of
close
events seen so far in theChannelPipeline
.var connectCalls: Int
Returns the number of
connect
events seen so far in theChannelPipeline
.var errorCaughtCalls: Int
Returns the number of
errorCaught
events seen so far in theChannelPipeline
.var flushCalls: Int
Returns the number of
flush
events seen so far in theChannelPipeline
.var readCalls: Int
Returns the number of
read
events seen so far in theChannelPipeline
.var registerCalls: Int
Returns the number of
register
events seen so far in theChannelPipeline
.var triggerUserOutboundEventCalls: Int
Returns the number of
triggerUserOutboundEvent
events seen so far in theChannelPipeline
.var userInboundEventTriggeredCalls: Int
Returns the number of
userInboundEventTriggered
events seen so far in theChannelPipeline
.var writeCalls: Int
Returns the number of
write
events seen so far in theChannelPipeline
.func allTriggeredEvents(
) -> Set<String> Return all event descriptions that have triggered.
func bind(context: ChannelHandlerContext, to: SocketAddress, promise: EventLoopPromise<Void>?
) func channelActive(context: ChannelHandlerContext
) func channelInactive(context: ChannelHandlerContext
) func channelRead(context: ChannelHandlerContext, data: NIOAny
) func channelReadComplete(context: ChannelHandlerContext
) func channelRegistered(context: ChannelHandlerContext
) func channelUnregistered(context: ChannelHandlerContext
) func channelWritabilityChanged(context: ChannelHandlerContext
) func checkValidity(
) throws Validate some basic assumptions about the number of events and if any of those assumptions are violated, throw an error.
func close(context: ChannelHandlerContext, mode: CloseMode, promise: EventLoopPromise<Void>?
) func connect(context: ChannelHandlerContext, to: SocketAddress, promise: EventLoopPromise<Void>?
) func errorCaught(context: ChannelHandlerContext, error: Error
) func flush(context: ChannelHandlerContext
) func read(context: ChannelHandlerContext
) func register(context: ChannelHandlerContext, promise: EventLoopPromise<Void>?
) func triggerUserOutboundEvent(context: ChannelHandlerContext, event: Any, promise: EventLoopPromise<Void>?
) func userInboundEventTriggered(context: ChannelHandlerContext, event: Any
) func write(context: ChannelHandlerContext, data: NIOAny, promise: EventLoopPromise<Void>?
)