public class Et extends cMsgSubdomainAdapter
Constructor and Description |
---|
Et() |
Modifier and Type | Method and Description |
---|---|
void |
handleClientShutdown()
Dump leftover events, then close the ET system.
|
void |
handleSendRequest(cMsgMessageFull msg)
If there are no events to work with, get chunk number of empty events from
the ET system.
|
int |
handleSyncSendRequest(cMsgMessageFull msg)
If there are no events to work with, get chunk number of empty events from
the ET system.
|
boolean |
hasSend()
Method to tell if the "send" cMsg API function is implemented
by this interface implementation in the "handleSendRequest"
method.
|
boolean |
hasSyncSend()
Method to tell if the "syncSend" cMsg API function is implemented
by this interface implementation in the "handleSyncSendRequest"
method.
|
void |
registerClient(cMsgClientInfo info)
Open ET system and attach to GrandCentral station.
|
void |
setUDLRemainder(java.lang.String udlRemainder)
Parse arg to get ET system file, method to open ET system, chunk size.
|
handleSendAndGetRequest, handleShutdownClientsRequest, handleSubscribeAndGetRequest, handleSubscribeRequest, handleUnSendAndGetRequest, handleUnsubscribeAndGetRequest, handleUnsubscribeRequest, hasSendAndGet, hasShutdown, hasSubscribe, hasSubscribeAndGet, hasUnsubscribe
public boolean hasSend()
hasSend
in interface cMsgSubdomainInterface
hasSend
in class cMsgSubdomainAdapter
public boolean hasSyncSend()
hasSyncSend
in interface cMsgSubdomainInterface
hasSyncSend
in class cMsgSubdomainAdapter
public void setUDLRemainder(java.lang.String udlRemainder) throws cMsgException
setUDLRemainder
in interface cMsgSubdomainInterface
setUDLRemainder
in class cMsgSubdomainAdapter
udlRemainder
- last part of the UDL appropriate to the subdomain handlercMsgException
- if invalid argpublic void registerClient(cMsgClientInfo info) throws cMsgException
registerClient
in interface cMsgSubdomainInterface
registerClient
in class cMsgSubdomainAdapter
info
- information about clientcMsgException
- upon IO error, bad arg, too many valid responsespublic void handleSendRequest(cMsgMessageFull msg) throws cMsgException
handleSendRequest
in interface cMsgSubdomainInterface
handleSendRequest
in class cMsgSubdomainAdapter
msg
- message from sendercMsgException
- if errors talking to ET systempublic int handleSyncSendRequest(cMsgMessageFull msg) throws cMsgException
handleSyncSendRequest
in interface cMsgSubdomainInterface
handleSyncSendRequest
in class cMsgSubdomainAdapter
msg
- message from sendercMsgException
- if errors talking to ET systempublic void handleClientShutdown() throws cMsgException
handleClientShutdown
in interface cMsgSubdomainInterface
handleClientShutdown
in class cMsgSubdomainAdapter
cMsgException
- never