Services_Apns
[ class tree: Services_Apns ] [ index: Services_Apns ] [ all elements ]

Class: Services_Apns_Client_Message

Source Location: /Services_Apns-0.1.0/Services/Apns/Client/Message.php

Class Overview

Services_Apns_Client
   |
   --Services_Apns_Client_Message

Client class used to query Apple Push Notifications Service with messages.


Author(s):

Version:

  • Release: 0.1.0

Copyright:

  • 2013 Yahav Gindi Bar

Methods


Inherited Variables

Inherited Methods

Class: Services_Apns_Client

Services_Apns_Client::close()
Close the connection to the APNS gateway
Services_Apns_Client::connect()
Open the connection to Apple Push Notifications service
Services_Apns_Client::getApnsProductionUri()
Get the APNS sandbox uri to query
Services_Apns_Client::getApnsSandboxUri()
Get the APNS sandbox uri to query
Services_Apns_Client::getDefaultEnvironment()
Gets the default environment
Services_Apns_Client::getPasswordPhrase()
Gets the password phrase
Services_Apns_Client::getSslCertificateFilePath()
Get the file path to the authorized SSL certificate provided by Apple
Services_Apns_Client::initConnection()
Initialize the connection to the APNS gateway
Services_Apns_Client::isConnected()
Gets the value that indicates if the stream currently connected to the APNS gateway.
Services_Apns_Client::read()
Read bytes from the APNS gateway stream
Services_Apns_Client::setDefaultEnvironment()
Set the default environment
Services_Apns_Client::setPasswordPhrase()
Set the password phrase
Services_Apns_Client::setSslCertificateFilePath()
Set the file path to the authorized SSL certificate provided by Apple
Services_Apns_Client::write()
Writes the given data to the socket stream
Services_Apns_Client::__destruct()
Class destructor: used to dispose the connection, in case it was opened

Class Details

[line 87]
Client class used to query Apple Push Notifications Service with messages.

Messages that'll be transfferd by this class will be received on the registered clients devices.



[ Top ]


Method Detail

getApnsProductionUri   [line 97]

string getApnsProductionUri( )

(non-PHPdoc)
  • See: Services_ApnsAbstractGateway::getApnsProductionUri()
  • Access: protected

Overrides Services_Apns_Client::getApnsProductionUri() (Get the APNS sandbox uri to query)
[ Top ]

getApnsSandboxUri   [line 112]

string getApnsSandboxUri( )

(non-PHPdoc)
  • See: Services_ApnsAbstractGateway::getApnsSandboxUri()
  • Access: protected

Overrides Services_Apns_Client::getApnsSandboxUri() (Get the APNS sandbox uri to query)
[ Top ]

sendMessage   [line 128]

array sendMessage( Services_Apns_Message $message)

Send a message to APNS gateway
  • Access: public

Parameters:

Services_Apns_Message   $message     The message to assign

[ Top ]


Documentation generated on Tue, 19 Feb 2013 14:30:03 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.