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 EventHistoryListener
public void loadIniParams(IniFile ini)
loadIniParams
in interface EventMessengerInterface
ini
- The ini file.public void log(int EventId, String msg)
public void dispose()
dispose
in interface EventMessengerInterface
public String[] getItems()
getItems
in interface EventMessengerInterface
public String getName()
getName
in interface EventMessengerInterface
public int getSendState()
getSendState
in interface EventMessengerInterface
public boolean setSendState(int flag)
setSendState
in interface EventMessengerInterface
public String getLastError(boolean reset)
EventMessengerInterface
getLastError
in interface EventMessengerInterface
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.