Struct jamsocket::WrappedJamsocketService [−][src]
pub struct WrappedJamsocketService<S: SimpleJamsocketService, C: JamsocketContext> { /* fields omitted */ }Expand description
Combines a SimpleJamsocketService with an owned JamsocketContext in order to implement JamsocketService.
Implementations
Trait Implementations
impl<S: SimpleJamsocketService, C: JamsocketContext> JamsocketService for WrappedJamsocketService<S, C>
impl<S: SimpleJamsocketService, C: JamsocketContext> JamsocketService for WrappedJamsocketService<S, C>
Called each time a client disconnects from the service, unless that disconnection will cause the service to be destroyed. Read more
Called each time a client sends a text message to the service.
Called when JamsocketContext::set_timer has been called on this service’s context, after the provided duration. Read more