public class SMSEventMessenger extends Object implements EventMessengerInterface, EventHistoryListener
SMSSender class.DISABLED, EVENT_FILTER| Constructor and Description |
|---|
SMSEventMessenger() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
The EventMessenger should do cleaning up it needs before it dies.
|
String[] |
getItems()
Used by the admin interface to get the items of this section.
|
String |
getLastError(boolean reset)
Method to access the latest error.
|
String |
getName()
Returns the name of this class in the ini-file ('SMS').
|
int |
getSendState()
Return our send state.
|
void |
loadIniParams(IniFile ini)
Reads the SMSEventMessengers section in the server.ini.
|
void |
log(int EventId,
String msg)
Used by SMSSender when logging events.
|
void |
processEvent(ServerEvent event)
A new server event has been processed by the event exit.
|
boolean |
setSendState(int flag)
Set the send state from outside.
|
public void processEvent(ServerEvent event)
processEvent in interface EventHistoryListenerpublic void loadIniParams(IniFile ini)
loadIniParams in interface EventMessengerInterfaceini - The ini file.public void log(int EventId,
String msg)
public void dispose()
dispose in interface EventMessengerInterfacepublic String[] getItems()
getItems in interface EventMessengerInterfacepublic String getName()
getName in interface EventMessengerInterfacepublic int getSendState()
getSendState in interface EventMessengerInterfacepublic boolean setSendState(int flag)
setSendState in interface EventMessengerInterfacepublic String getLastError(boolean reset)
EventMessengerInterfacegetLastError in interface EventMessengerInterfacePhantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.