|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.grizzly.TCPSelectorHandler
com.sun.grizzly.UDPSelectorHandler
com.sun.grizzly.ReusableUDPSelectorHandler
com.sun.enterprise.mgmt.transport.grizzly.grizzly1_9.MulticastSelectorHandler
public class MulticastSelectorHandler
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sun.grizzly.TCPSelectorHandler |
|---|
com.sun.grizzly.TCPSelectorHandler.ConnectChannelOperation, com.sun.grizzly.TCPSelectorHandler.RegisterChannelOperation, com.sun.grizzly.TCPSelectorHandler.RegisterKeyOperation, com.sun.grizzly.TCPSelectorHandler.RunnableOperation, com.sun.grizzly.TCPSelectorHandler.SelectionKeyCancelOperation |
| Field Summary |
|---|
| Fields inherited from class com.sun.grizzly.UDPSelectorHandler |
|---|
datagramChannel, datagramSocket |
| Fields inherited from class com.sun.grizzly.TCPSelectorHandler |
|---|
asyncQueueReader, asyncQueueWriter, attributes, connectorInstanceHandler, inet, instanceHandler, isKeepAlive, isShutDown, linger, logger, portRange, postponedTasks, receiveBufferSize, reuseAddress, role, selectionKeyHandler, selector, selectorHandlerTasks, selectTimeout, sendBufferSize, serverSocket, serverSocketChannel, serverTimeout, socketTimeout, ssBackLog, stateHolder, tcpNoDelay, threadPool |
| Constructor Summary | |
|---|---|
MulticastSelectorHandler()
|
|
| Method Summary | |
|---|---|
void |
copyTo(com.sun.grizzly.util.Copyable copy)
|
protected Callable<com.sun.grizzly.ConnectorHandler> |
getConnectorInstanceHandlerDelegate()
|
protected void |
onConnectOp(com.sun.grizzly.Context ctx,
com.sun.grizzly.TCPSelectorHandler.ConnectChannelOperation connectChannelOp)
Handle new OP_CONNECT ops. |
void |
preSelect(com.sun.grizzly.Context ctx)
Before invoking Selector.select(), make sure the ServerScoketChannel has been created. |
void |
setMulticastAddress(String multicastAddress)
|
void |
setNetworkInterface(String networkInterfaceName)
|
| Methods inherited from class com.sun.grizzly.ReusableUDPSelectorHandler |
|---|
closeChannel, getSelectableChannel |
| Methods inherited from class com.sun.grizzly.UDPSelectorHandler |
|---|
getLinger, getPortLowLevel, getPreferredSelectionKeyHandler, getSocketNativeReceiveBufferSize, getSocketNativeSendBufferSize, getSocketTimeout, getSsBackLog, isTcpNoDelay, onAcceptInterest, protocol, setLinger, setSocketNativeReceiveBufferSize, setSocketNativeSendBufferSize, setSocketTimeout, setSsBackLog, setTcpNoDelay, shutdown |
| Methods inherited from class com.sun.grizzly.TCPSelectorHandler |
|---|
acceptWithoutRegistration, acquireConnectorHandler, addPendingIO, addPendingKeyCancel, boolean2Role, configureChannel, connect, getAsyncQueueReader, getAsyncQueueWriter, getAttribute, getAttributes, getInet, getLogger, getPort, getPortRange, getProtocolChainInstanceHandler, getRole, getSelectionKeyHandler, getSelector, getSelectTimeout, getServerTimeout, getSpinRate, getStateHolder, getThreadPool, invokeAsyncQueueReader, invokeAsyncQueueWriter, invokeCallbackHandler, isExecutePendingIOUsingSelectorThread, isKeepAlive, isOpen, isReuseAddress, keyFor, keys, onConnectInterest, onReadInterest, onWriteInterest, pause, pollContext, postSelect, processPendingOperations, register, register, register, releaseConnectorHandler, removeAttribute, resetSpinCounter, resume, select, setAttribute, setAttributes, setExecutePendingIOUsingSelectorThread, setInet, setKeepAlive, setLogger, setMaxAcceptRetries, setPort, setPortRange, setProtocolChainInstanceHandler, setReceiveBufferSize, setReuseAddress, setRole, setSelectionKeyHandler, setSelector, setSelectTimeout, setSendBufferSize, setServerTimeout, setThreadPool, workaroundSelectorSpin |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MulticastSelectorHandler()
| Method Detail |
|---|
public void copyTo(com.sun.grizzly.util.Copyable copy)
copyTo in interface com.sun.grizzly.util.CopyablecopyTo in class com.sun.grizzly.UDPSelectorHandler
public void preSelect(com.sun.grizzly.Context ctx)
throws IOException
preSelect in interface com.sun.grizzly.SelectorHandlerpreSelect in class com.sun.grizzly.UDPSelectorHandlerIOException
public void setMulticastAddress(String multicastAddress)
throws UnknownHostException
UnknownHostException
public void setNetworkInterface(String networkInterfaceName)
throws SocketException
SocketException
protected void onConnectOp(com.sun.grizzly.Context ctx,
com.sun.grizzly.TCPSelectorHandler.ConnectChannelOperation connectChannelOp)
throws IOException
onConnectOp in class com.sun.grizzly.UDPSelectorHandlerIOExceptionprotected Callable<com.sun.grizzly.ConnectorHandler> getConnectorInstanceHandlerDelegate()
getConnectorInstanceHandlerDelegate in class com.sun.grizzly.UDPSelectorHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||