Examples of InMemoryDataStore


Examples of org.jboss.aerogear.simplepush.server.datastore.InMemoryDataStore

public class InMemorySimplePushServerTest extends DefaultSimplePushServerTest {

    @Override
    protected DataStore createDataStore() {
        return new InMemoryDataStore();
    }
View Full Code Here

Examples of org.jboss.aerogear.simplepush.server.datastore.InMemoryDataStore

                .build();
        return new UserAgentReaperHandler(simplePushServer(config));
    }

    private SimplePushServer simplePushServer(final SimplePushServerConfig config) {
        final DataStore store = new InMemoryDataStore();
        final byte[] privateKey = DefaultSimplePushServer.generateAndStorePrivateKey(store, config);
        return new DefaultSimplePushServer(store, config, privateKey);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.