com.notnoop.mpns.internal
Class MpnsServiceImpl
java.lang.Object
com.notnoop.mpns.internal.AbstractMpnsService
com.notnoop.mpns.internal.MpnsServiceImpl
- All Implemented Interfaces:
- MpnsService
public class MpnsServiceImpl
- extends AbstractMpnsService
- implements MpnsService
|
Method Summary |
protected void |
push(org.apache.http.client.methods.HttpPost request,
MpnsNotification message)
|
void |
stop()
Stops the service and frees any allocated resources it created for this
service. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MpnsServiceImpl
public MpnsServiceImpl(org.apache.http.client.HttpClient httpClient,
MpnsDelegate delegate)
push
protected void push(org.apache.http.client.methods.HttpPost request,
MpnsNotification message)
- Specified by:
push in class AbstractMpnsService
stop
public void stop()
- Description copied from interface:
MpnsService
- Stops the service and frees any allocated resources it created for this
service.
The underlying implementation should close all connections it created,
and possibly stop any threads as well.
- Specified by:
stop in interface MpnsService- Overrides:
stop in class AbstractMpnsService
Copyright © 2015. All Rights Reserved.