public interface Service extends Closeable
Modifier and Type | Method and Description |
---|---|
CloseFuture |
close(boolean immediately)
Close the service.
|
Session |
getSession() |
void |
process(byte cmd,
Buffer buffer)
Service the request.
|
void |
start() |
Session getSession()
void start()
void process(byte cmd, Buffer buffer) throws Exception
buffer
- Exception
CloseFuture close(boolean immediately)
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.