com.notnoop.apns.internal
Class ApnsPooledConnection
java.lang.Object
com.notnoop.apns.internal.ApnsPooledConnection
- All Implemented Interfaces:
- ApnsConnection, Closeable
public class ApnsPooledConnection
- extends Object
- implements ApnsConnection
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApnsPooledConnection
public ApnsPooledConnection(ApnsConnection prototype,
int max)
ApnsPooledConnection
public ApnsPooledConnection(ApnsConnection prototype,
int max,
ExecutorService executors)
sendMessage
public void sendMessage(ApnsNotification m)
throws NetworkIOException
- Specified by:
sendMessage in interface ApnsConnection
- Throws:
NetworkIOException
copy
public ApnsConnection copy()
- Specified by:
copy in interface ApnsConnection
close
public void close()
- Specified by:
close in interface Closeable
testConnection
public void testConnection()
- Specified by:
testConnection in interface ApnsConnection
setCacheLength
public void setCacheLength(int cacheLength)
- Specified by:
setCacheLength in interface ApnsConnection
getCacheLength
public int getCacheLength()
- Specified by:
getCacheLength in interface ApnsConnection
Copyright © 2013. All Rights Reserved.