com.notnoop.apns.internal
Interface ApnsConnection

All Superinterfaces:
Closeable
All Known Implementing Classes:
ApnsConnectionImpl, ApnsPooledConnection

public interface ApnsConnection
extends Closeable


Field Summary
static int DEFAULT_CACHE_LENGTH
           
 
Method Summary
 ApnsConnection copy()
           
 int getCacheLength()
           
 void sendMessage(ApnsNotification m)
           
 void setCacheLength(int cacheLength)
           
 void testConnection()
           
 
Methods inherited from interface java.io.Closeable
close
 

Field Detail

DEFAULT_CACHE_LENGTH

static final int DEFAULT_CACHE_LENGTH
See Also:
Constant Field Values
Method Detail

sendMessage

void sendMessage(ApnsNotification m)
                 throws NetworkIOException
Throws:
NetworkIOException

testConnection

void testConnection()
                    throws NetworkIOException
Throws:
NetworkIOException

copy

ApnsConnection copy()

setCacheLength

void setCacheLength(int cacheLength)

getCacheLength

int getCacheLength()


Copyright © 2013. All Rights Reserved.