public interface Service
Service
interface represents a service that can be
used to communicate with the WebSocket protocol defined in RFC 6455.
Typically a service will implement a sub-protocol negotiated from
the initiating HTTP request. The service should be considered a
hand off point rather than an place to implement business logic.FrameChannel
Modifier and Type | Method and Description |
---|---|
void |
connect(Session session)
This method connects a new session with a service implementation.
|
void connect(Session session)
session
- the new session to connect to the serviceCopyright © 2016. All rights reserved.