public class CAJNameClient extends Object implements TransportClient, Timer.TimerRunnable, Request
| Modifier and Type | Field and Description |
|---|---|
ByteBuffer |
sendBuffer |
DEFAULT_USER_PRIORITY, MAX_USER_PRIORITY, MIN_USER_PRIORITY, SEND_IMMEDIATELY_PRIORITY| Constructor and Description |
|---|
CAJNameClient(CAJContext ctxt,
InetSocketAddress ep) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
connect() |
byte |
getPriority()
Get request priority, higher view higher priority.
|
ByteBuffer |
getRequestMessage()
Get request message to be sent.
|
void |
initBuffer() |
void |
submit()
Submit this request message to the corresponding transport.
|
void |
timeout(long timeToRun)
Method invoked by timer at requested time.
|
void |
transportChanged()
Notification of network change (server restarted).
|
void |
transportClosed()
Notification of forcefully closed transport.
|
void |
transportResponsive(Transport transport)
Notification of responsive transport (e.g.
|
void |
transportUnresponsive()
Notification of unresponsive transport (e.g.
|
public final ByteBuffer sendBuffer
public CAJNameClient(CAJContext ctxt, InetSocketAddress ep)
public void initBuffer()
public void connect()
public void cancel()
public void timeout(long timeToRun)
Timer.TimerRunnabletimeout in interface Timer.TimerRunnabletimeToRun - time in ms to run.public void transportUnresponsive()
TransportClienttransportUnresponsive in interface TransportClientpublic void transportResponsive(Transport transport)
TransportClienttransportUnresponsive notification.transportResponsive in interface TransportClienttransport - responsive transport.public void transportChanged()
TransportClienttransportChanged in interface TransportClientpublic void transportClosed()
TransportClienttransportClosed in interface TransportClientpublic byte getPriority()
RequestgetPriority in interface Requestpublic ByteBuffer getRequestMessage()
RequestgetRequestMessage in interface Requestpublic void submit()
throws IOException
Requestsubmit in interface RequestIOExceptionCopyright © 2004-2020 EPICS. All Rights Reserved.