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, hasUnsubscribepublic boolean hasSend()
hasSend in interface cMsgSubdomainInterfacehasSend in class cMsgSubdomainAdapterpublic boolean hasSyncSend()
hasSyncSend in interface cMsgSubdomainInterfacehasSyncSend in class cMsgSubdomainAdapterpublic void setUDLRemainder(java.lang.String udlRemainder)
throws cMsgException
setUDLRemainder in interface cMsgSubdomainInterfacesetUDLRemainder in class cMsgSubdomainAdapterudlRemainder - last part of the UDL appropriate to the subdomain handlercMsgException - if invalid argpublic void registerClient(cMsgClientInfo info) throws cMsgException
registerClient in interface cMsgSubdomainInterfaceregisterClient in class cMsgSubdomainAdapterinfo - information about clientcMsgException - upon IO error, bad arg, too many valid responsespublic void handleSendRequest(cMsgMessageFull msg) throws cMsgException
handleSendRequest in interface cMsgSubdomainInterfacehandleSendRequest in class cMsgSubdomainAdaptermsg - message from sendercMsgException - if errors talking to ET systempublic int handleSyncSendRequest(cMsgMessageFull msg) throws cMsgException
handleSyncSendRequest in interface cMsgSubdomainInterfacehandleSyncSendRequest in class cMsgSubdomainAdaptermsg - message from sendercMsgException - if errors talking to ET systempublic void handleClientShutdown()
throws cMsgException
handleClientShutdown in interface cMsgSubdomainInterfacehandleClientShutdown in class cMsgSubdomainAdaptercMsgException - never