top
| ||
addEventListener | in file Server.php, method Server::addEventListener() Adds the listener which is called when requests are received. | |
addMessageListener | in file ServerSocket.php, method ServerSocket::addMessageListener() Adds the listener which is called when requests are received. | |
attrNot | in file Request.php, method Request::attrNot() Manages attributes concerning Notifications | |
attrSMS | in file Request.php, method Request::attrSMS() Manages attributes concerning SMS | |
top
| ||
Base | in file Base.php, method Base::Base() | |
Base | in file Base.php, class Base $Id: Base.php,v 1.1.1.1 2003/03/27 10:27:43 maro Exp $ | |
Base.php | procedural page Base.php | |
top
| ||
$clazz | in file Base.php, variable Base::$clazz | |
characterData | in file SendResponse.php, method SendResponse::characterData() | |
characterData | in file Request.php, method Request::characterData() Parses character data | |
charNotification | in file Request.php, method Request::charNotification() Parses character data for a Notification, for now it is empty. | |
charSMS | in file Request.php, method Request::charSMS() Parses character data for an SMS | |
Client | in file Client.php, method Client::Client() | |
Client | in file Client.php, class Client $Id: Client.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $ | |
ClientSocket | in file ClientSocket.php, class ClientSocket $Id: ClientSocket.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $ | |
ClientSocket | in file ClientSocket.php, method ClientSocket::ClientSocket() Creates a new ClientSocket for use with specified host and port | |
config.inc | procedural page config.inc | |
Client.php | procedural page Client.php | |
ClientSocket.php | procedural page ClientSocket.php | |
top
| ||
dbg | in file Base.php, method Base::dbg() | |
top
| ||
endElement | in file SendResponse.php, method SendResponse::endElement() | |
endElement | in file Request.php, method Request::endElement() | |
top
| ||
formatLongDate | in file Base.php, method Base::formatLongDate() | |
formatLongDateTime | in file Base.php, method Base::formatLongDateTime() | |
formatShortDate | in file Base.php, method Base::formatShortDate() | |
formatShortDateTime | in file Base.php, method Base::formatShortDateTime() | |
top
| ||
GatewayListener | in file GatewayListener.php, method GatewayListener::GatewayListener() Initializes the class | |
GatewayListener | in file GatewayListener.php, class GatewayListener $Id: GatewayListener.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $ | |
GatewaySender | in file GatewaySender.php, class GatewaySender $Id: GatewaySender.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $ | |
GatewaySender | in file GatewaySender.php, method GatewaySender::GatewaySender() | |
getDelivered | in file Sms.php, method Sms::getDelivered() Returns the date the SMS was delivered to the gateway. | |
getErrorCode | in file SendResponse.php, method SendResponse::getErrorCode() Returns the error-code for the message if unsuccessful send. | |
getErrorMessage | in file SendResponse.php, method SendResponse::getErrorMessage() Returns the error-message for the message if unsuccessful send. | |
getFrom | in file Sms.php, method Sms::getFrom() Returns the originator for this SMS. | |
getMessage | in file Sms.php, method Sms::getMessage() Returns the message-text for this SMS. | |
getMessageId | in file SendResponse.php, method SendResponse::getMessageId() Returns the message-id for the message if successful send. | |
getMessageId | in file Notification.php, method Notification::getMessageId() Returns the message-id for this notification. | |
getNotificationType | in file Notification.php, method Notification::getNotificationType() Returns the Notification type | |
getNotificationTypeText | in file Notification.php, method Notification::getNotificationTypeText() Returns the Notification type in clear-text | |
getProviderDate | in file Notification.php, method Notification::getProviderDate() Returns the date this provider received the notification. | |
getRawData | in file Request.php, method Request::getRawData() Returns the request in it's raw XML-form | |
getRequest | in file Request.php, method Request::getRequest() Returns the request as the object contained in the request, which can be an Sms or a Notification. To find out which use 'getRequestType'. | |
getRequestType | in file Request.php, method Request::getRequestType() Returns the type for this request, one of 'sms' and 'notification' | |
getResponseType | in file SendResponse.php, method SendResponse::getResponseType() Returns the response-type for the sent message | |
getStatus | in file SendResponse.php, method SendResponse::getStatus() Returns the status of the response which is one of STATUS_SUCCESS or STATUS_FAIL. | |
getStatusReporting | in file Sms.php, method Sms::getStatusReporting() Returns 'true/false' if statusreporting is enabled for this SMS. | |
getTo | in file Sms.php, method Sms::getTo() Returns the recipient for this SMS | |
getValidTo | in file Sms.php, method Sms::getValidTo() Returns the valid-to date for this message | |
GatewayListener.php | procedural page GatewayListener.php | |
GatewaySender.php | procedural page GatewaySender.php | |
top
| ||
invalidMessage | in file Client.php, method Client::invalidMessage() | |
invalidMobile | in file Client.php, method Client::invalidMobile() | |
index.php | procedural page index.php | |
top
| ||
$logFile | in file Base.php, variable Base::$logFile | |
$loglevel | in file Base.php, variable Base::$loglevel debug - logstatements above and including 'debug' are printed. | |
$loglevels | in file Base.php, variable Base::$loglevels | |
$logoutput | in file Base.php, variable Base::$logoutput 0 - log to screen | |
listener.php | procedural page listener.php | |
listen | in file ServerSocket.php, method ServerSocket::listen() Listens on specified host and port for incoming requests from gateway. | |
logDebug | in file Base.php, method Base::logDebug() | |
logFatal | in file Base.php, method Base::logFatal() | |
logInfo | in file Base.php, method Base::logInfo() | |
logInfo | in file sender.php, function logInfo() | |
logWarn | in file Base.php, method Base::logWarn() | |
top
| ||
$method | in file Base.php, variable Base::$method | |
main | in file sender.php, function main() | |
top
| ||
Notification | in file Notification.php, method Notification::Notification() | |
Notification | in file Notification.php, class Notification $Id: Notification.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $ | |
Notification.php | procedural page Notification.php | |
notification-handler.php | procedural page notification-handler.php | |
top
| ||
onMessageReceive | in file Server.php, method Server::onMessageReceive() This function is called when the ServerSocket receives an incoming message. The message is parsed and depending on request-type different call-back methods are called, either 'onSMSReceive' or 'onNotificationReceive'. | |
onNotificationReceive | in file GatewayListener.php, method GatewayListener::onNotificationReceive() Called when a Notification is received. As specified in the XML/TCP adapter documentation, an incoming Notification must be acknowledged. This is achieved by creating a sdk.protocol.receive.Response object and send it back to the gateway. | |
onSMSReceive | in file GatewayListener.php, method GatewayListener::onSMSReceive() Called when an SMS is received. As specified in the XML/TCP adapter documentation, an incoming SMS must be acknowledged. This is achieved by creating a sdk.protocol.receive.Response object and send it back to the gateway. | |
top
| ||
parse | in file Request.php, method Request::parse() Parses the incoming XML-request. | |
parse | in file SendResponse.php, method SendResponse::parse() Parses the response from the gateway. | |
parseAttributes | in file Request.php, method Request::parseAttributes() Parses attributes for a tag. | |
parseAttributes | in file SendResponse.php, method SendResponse::parseAttributes() Parses the attributes for the current tag | |
printNot | in file view-sms.php, function printNot() | |
printSMS | in file view-sms.php, function printSMS() $Id: view-sms.php,v 1.1.1.1 2003/03/27 10:27:43 maro Exp $ | |
top
| ||
registerClass | in file Base.php, method Base::registerClass() | |
registerMethod | in file Base.php, method Base::registerMethod() | |
Request | in file Request.php, method Request::Request() Creates a new Request object with the desired content ($input) and parses the XML. | |
Request | in file Request.php, class Request $Id: Request.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $ | |
Response | in file Response.php, method Response::Response() Creates a new Response, status defaulting to STATUS_SUCCCESS. | |
Response | in file Response.php, class Response $Id: Response.php,v 1.1.1.1 2003/03/27 10:27:43 maro Exp $ | |
run | in file GatewayListener.php, method GatewayListener::run() Starts the GatewayListener and listens for incoming SMS and | |
run | in file Server.php, method Server::run() Starts the server, which connects to the gateway and listens for requests. | |
Request.php | procedural page Request.php | |
Response.php | procedural page Response.php | |
top
| ||
$server | in file GatewayListener.php, variable GatewayListener::$server | |
$STATUS_FAIL | in file SendResponse.php, variable SendResponse::$STATUS_FAIL Constant for defining this Response as failed. | |
$STATUS_FAIL | in file Response.php, variable Response::$STATUS_FAIL Constant for defining this response as failed | |
$STATUS_REPORT_NO | in file Sms.php, variable Sms::$STATUS_REPORT_NO | |
$STATUS_REPORT_YES | in file Sms.php, variable Sms::$STATUS_REPORT_YES | |
$STATUS_SUCCESS | in file SendResponse.php, variable SendResponse::$STATUS_SUCCESS Constant for defining this Response as successful | |
$STATUS_SUCCESS | in file Response.php, variable Response::$STATUS_SUCCESS Constant for defining this response as successful | |
sender.php | procedural page sender.php | |
SendRequest.php | procedural page SendRequest.php | |
SendResponse.php | procedural page SendResponse.php | |
Sms.php | procedural page Sms.php | |
Server.php | procedural page Server.php | |
ServerSocket.php | procedural page ServerSocket.php | |
send | in file Client.php, method Client::send() Sends a simple sms and returns the response from the gateway | |
send | in file ClientSocket.php, method ClientSocket::send() Sends a message to the desired host/port and reads the response from the socket and returns this to the calling app. | |
send | in file ServerSocket.php, method ServerSocket::send() Sends a message back to the gateway using the connected socket. | |
SendRequest | in file SendRequest.php, method SendRequest::SendRequest() Creates a new Request to send an SMS message. | |
SendRequest | in file SendRequest.php, class SendRequest $Id: SendRequest.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $ | |
sendResponse | in file Server.php, method Server::sendResponse() Sends a Response object back to the gateway. | |
SendResponse | in file SendResponse.php, class SendResponse $Id: SendResponse.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $ | |
SendResponse | in file SendResponse.php, method SendResponse::SendResponse() Creates a new SendResponse, if param $xml is provided the response is parsed. If $xml is omitted, an empty SendResponse is created. | |
sendSimpleSMS | in file GatewaySender.php, method GatewaySender::sendSimpleSMS() Sends a simple sms and checks the response from the gateway | |
sendSMS | in file index.php, function sendSMS() $Id: index.php,v 1.1.1.1 2003/03/27 10:27:43 maro Exp $ | |
sendSMS | in file GatewaySender.php, method GatewaySender::sendSMS() Sends an SMS and checks the response from the gateway | |
Server | in file Server.php, class Server $Id: Server.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $ | |
Server | in file Server.php, method Server::Server() Creates a new Server | |
ServerSocket | in file ServerSocket.php, method ServerSocket::ServerSocket() Creates a new ServerSocket for use with specified host and port | |
ServerSocket | in file ServerSocket.php, class ServerSocket $Id: ServerSocket.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $ | |
setDelivered | in file Sms.php, method Sms::setDelivered() Sets the date the SMS was delivered, only used by the gateway. | |
setErrorCode | in file Response.php, method Response::setErrorCode() When status = STATUS_FAIL, set an error-code. | |
setErrorCode | in file SendResponse.php, method SendResponse::setErrorCode() Sets the error-code for the message in case of failure. | |
setErrorMessage | in file Response.php, method Response::setErrorMessage() When status = STATUS_FAIL, set an error-message | |
setErrorMessage | in file SendResponse.php, method SendResponse::setErrorMessage() Sets the error-message for the message in case of failure. | |
setFrom | in file Sms.php, method Sms::setFrom() Sets the originator mobilephonenumber. Note that the settings in the gateway may override the originator. | |
setLoglevel | in file Base.php, method Base::setLoglevel() | |
setMessage | in file Sms.php, method Sms::setMessage() Sets the text for this SMS. | |
setMessageId | in file SendResponse.php, method SendResponse::setMessageId() Sets the message-id for the message | |
setMessageId | in file Notification.php, method Notification::setMessageId() Sets the message id for this Notification. | |
setNotificationType | in file Notification.php, method Notification::setNotificationType() Sets the notification type for this Notification. | |
setProviderDate | in file Notification.php, method Notification::setProviderDate() Sets the provider date for this Notification. This is the date this notification was received from the Provider. | |
setResponseType | in file SendResponse.php, method SendResponse::setResponseType() Sets the response type for the message | |
setStatus | in file SendResponse.php, method SendResponse::setStatus() Sets the status of the response | |
setStatus | in file Response.php, method Response::setStatus() Sets status for this response, use STATUS_SUCCESS or STATUS_FAIL to set valid status. | |
setStatusReporting | in file Sms.php, method Sms::setStatusReporting() Sets if Notifications should be returned for this SMS, defaults to 'false'. | |
setTo | in file Sms.php, method Sms::setTo() Sets the recipient mobilephonenumber. | |
setValidTo | in file Sms.php, method Sms::setValidTo() If the recipient is unreachable, the validTo date specifies how long the SMSc should continue trying to deliver the SMS. | |
Sms | in file Sms.php, method Sms::Sms() Creates a new Sms object with a default to-address (recipient) and a message to be sent. | |
Sms | in file Sms.php, class Sms $Id: Sms.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $ | |
start | in file listener.php, function start() $Id: listener.php,v 1.1.1.1 2003/03/27 10:27:43 maro Exp $ | |
startElement | in file SendResponse.php, method SendResponse::startElement() | |
startElement | in file Request.php, method Request::startElement() | |
storeNot | in file notification-handler.php, function storeNot() $Id: notification-handler.php,v 1.1.1.1 2003/03/27 10:27:43 maro Exp $ | |
storeSMS | in file sms-handler.php, function storeSMS() $Id: sms-handler.php,v 1.1.1.1 2003/03/27 10:27:43 maro Exp $ | |
sms-handler.php | procedural page sms-handler.php | |
top
| ||
$TYPE_NOT | in file Request.php, variable Request::$TYPE_NOT Constant for defining this request as a Notification | |
$TYPE_SMS | in file Request.php, variable Request::$TYPE_SMS Constant for defining this request as an SMS | |
toFile | in file Base.php, method Base::toFile() | |
toScreen | in file Base.php, method Base::toScreen() | |
toXML | in file SendResponse.php, method SendResponse::toXML() Serializes the response into an XML string. | |
toXML | in file Response.php, method Response::toXML() Serializes this Response into an XML string. | |
toXML | in file SendRequest.php, method SendRequest::toXML() Serializes this Request into an XML string. | |
top
| ||
usage | in file sender.php, function usage() $Id: sender.php,v 1.1.1.1 2003/03/27 10:27:43 maro Exp $ | |
top
| ||
validateMessage | in file Sms.php, method Sms::validateMessage() | |
validateMobile | in file Sms.php, method Sms::validateMobile() | |
view-sms.php | procedural page view-sms.php | |
top
| ||
$__currentTag | in file SendResponse.php, variable SendResponse::$__currentTag Current tag when processing the XML | |
$__currentTag | in file Request.php, variable Request::$__currentTag Current tag processing when parsing XML | |
$__date | in file Notification.php, variable Notification::$__date | |
$__delivered | in file Sms.php, variable Sms::$__delivered Date reported by the SMSc when the SMS was delivered | |
$__errorCode | in file SendResponse.php, variable SendResponse::$__errorCode Error code for the Response | |
$__errorCode | in file Response.php, variable Response::$__errorCode Error code for this response | |
$__errorMessage | in file Response.php, variable Response::$__errorMessage Error message for this response | |
$__errorMsg | in file SendResponse.php, variable SendResponse::$__errorMsg Error message for the Response | |
$__from | in file Sms.php, variable Sms::$__from SMS from, originator of message | |
$__host | in file ServerSocket.php, variable ServerSocket::$__host Host to connect to | |
$__host | in file ClientSocket.php, variable ClientSocket::$__host Host to connect to | |
$__listener | in file ServerSocket.php, variable ServerSocket::$__listener Listener object for callbacks | |
$__listener | in file Server.php, variable Server::$__listener Listener object for callbacks | |
$__message | in file Sms.php, variable Sms::$__message SMS text | |
$__messageId | in file SendResponse.php, variable SendResponse::$__messageId Message id for this Response | |
$__msgId | in file Notification.php, variable Notification::$__msgId | |
$__port | in file ServerSocket.php, variable ServerSocket::$__port Port to connect to | |
$__port | in file ClientSocket.php, variable ClientSocket::$__port Port to connect to | |
$__raw | in file SendResponse.php, variable SendResponse::$__raw Raw data representing the Response (XML) | |
$__raw | in file Request.php, variable Request::$__raw Raw response data (XML) | |
$__request | in file Request.php, variable Request::$__request The request object | |
$__sms | in file SendRequest.php, variable SendRequest::$__sms The SMS object for this Request | |
$__socket | in file Client.php, variable Client::$__socket | |
$__socket | in file ServerSocket.php, variable ServerSocket::$__socket The listening socket | |
$__socket | in file Server.php, variable Server::$__socket The listening socket | |
$__status | in file SendResponse.php, variable SendResponse::$__status Status of the Response | |
$__status | in file Response.php, variable Response::$__status Current status of this response | |
$__statusReporting | in file Sms.php, variable Sms::$__statusReporting If status reporting for this message is wanted, string ("true"/"false") | |
$__to | in file Sms.php, variable Sms::$__to SMS recipient | |
$__type | in file Notification.php, variable Notification::$__type | |
$__type | in file SendResponse.php, variable SendResponse::$__type Type of Response | |
$__type | in file Request.php, variable Request::$__type Request type | |
$__type_text | in file Notification.php, variable Notification::$__type_text | |
$__validTo | in file Sms.php, variable Sms::$__validTo Specifies the date when the SMSc should stop try to deliver the | |
_DEBUG_FILE | in file config.inc, constant _DEBUG_FILE Defines the logfile when output is set to 1 or 2 | |
_DEBUG_LEVEL | in file config.inc, constant _DEBUG_LEVEL Defines the level of output from the scripts | |
_DEBUG_OUTPUT | in file config.inc, constant _DEBUG_OUTPUT Defines how logoutput should be presented. | |
_DOCROOT | in file config.inc, constant _DOCROOT | |
_LISTENER_HOST | in file config.inc, constant _LISTENER_HOST Defines the host used when connecting to the gateway to receive SMS and notifications | |
_LISTENER_PORT | in file config.inc, constant _LISTENER_PORT Defines the port used when connecting to the gateway to receive SMS/not | |
_SEND_HOST | in file config.inc, constant _SEND_HOST Defines the host used when connecting to the gateway to send SMS | |
_SEND_PORT | in file config.inc, constant _SEND_PORT Defines the port used when connecting to the gateway to send SMS |