javapns.feedback
Class FeedbackServiceManager

java.lang.Object
  extended by javapns.feedback.FeedbackServiceManager

public class FeedbackServiceManager
extends Object

Class for interacting with a specific Feedback Service.

Author:
kljajo, dgardon, Sylvain Pedneault

Constructor Summary
FeedbackServiceManager()
          Constructs a FeedbackServiceManager with a default basic DeviceFactory.
FeedbackServiceManager(DeviceFactory deviceFactory)
          Deprecated. The DeviceFactory-based architecture is deprecated.
 
Method Summary
 DeviceFactory getDeviceFactory()
          Deprecated. The DeviceFactory-based architecture is deprecated.
 LinkedList<Device> getDevices(AppleFeedbackServer server)
           
 int getSslSocketTimeout()
          Get the SSL socket timeout currently in use.
 void setDeviceFactory(DeviceFactory deviceFactory)
          Deprecated. The DeviceFactory-based architecture is deprecated.
 void setSslSocketTimeout(int sslSocketTimeout)
          Set the SSL socket timeout to use.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeedbackServiceManager

@Deprecated
public FeedbackServiceManager(DeviceFactory deviceFactory)
Deprecated. The DeviceFactory-based architecture is deprecated.

Constructs a FeedbackServiceManager with a supplied DeviceFactory.


FeedbackServiceManager

public FeedbackServiceManager()
Constructs a FeedbackServiceManager with a default basic DeviceFactory.

Method Detail

getDevices

public LinkedList<Device> getDevices(AppleFeedbackServer server)
                              throws KeystoreException,
                                     CommunicationException
Throws:
KeystoreException
CommunicationException

setDeviceFactory

@Deprecated
public void setDeviceFactory(DeviceFactory deviceFactory)
Deprecated. The DeviceFactory-based architecture is deprecated.

Parameters:
deviceFactory -

getDeviceFactory

@Deprecated
public DeviceFactory getDeviceFactory()
Deprecated. The DeviceFactory-based architecture is deprecated.

Returns:
a device factory

setSslSocketTimeout

public void setSslSocketTimeout(int sslSocketTimeout)
Set the SSL socket timeout to use.

Parameters:
sslSocketTimeout -

getSslSocketTimeout

public int getSslSocketTimeout()
Get the SSL socket timeout currently in use.

Returns:
the current SSL socket timeout value.