public class CASAcceptor extends Object implements ReactorHandler
| Constructor and Description |
|---|
CASAcceptor(CAContext context,
int port) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy acceptor (stop listening).
|
InetAddress |
getBindAddress()
Bind socket address.
|
void |
handleEvent(SelectionKey key)
Handle IO event.
|
public CASAcceptor(CAContext context, int port) throws CAException
context - CAExceptionpublic void handleEvent(SelectionKey key)
handleEvent in interface ReactorHandlerkey - key to be processed.ReactorHandler.handleEvent(java.nio.channels.SelectionKey)public InetAddress getBindAddress()
null if not binded.public void destroy()
Copyright © 2004-2020 EPICS. All Rights Reserved.