|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.grizzly.SelectorHandlerFactory
public class SelectorHandlerFactory
This class helps users to create a proper SelectorHandler which corresponds to its protocol and reusableness.
Currently, it supports only default Role of SelectorHandler.
| Constructor Summary | |
|---|---|
SelectorHandlerFactory()
|
|
| Method Summary | |
|---|---|
static SelectorHandler |
createSelectorHandler(Controller.Protocol protocol,
boolean reusable)
return an instance of SelectorHandler, which corresponds to the protocol and reusable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SelectorHandlerFactory()
| Method Detail |
|---|
public static SelectorHandler createSelectorHandler(Controller.Protocol protocol,
boolean reusable)
SelectorHandler, which corresponds to the protocol and reusable
protocol - a Controller.Protocolreusable - if true, the server-side channel is reused
SelectorHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||