A B C D E F G H I K L M N O P R S T U W

A

addAllConnectionProperties(Iterable<? extends ProtoSchema.Property>) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
addAllMessageQueue(Iterable<? extends ProtoSchema.Message>) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
addConnectionProperties(ProtoSchema.Property) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
addConnectionProperties(ProtoSchema.Property.Builder) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
addMessageQueue(ProtoSchema.Message) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
addMessageQueue(ProtoSchema.Message.Builder) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 

B

BaseTest - Class in com.appenginefan.toolkit.unittests
A simple test base class that can be extended to build unit tests that properly construct and tear down App Engine test environments.
BaseTest() - Constructor for class com.appenginefan.toolkit.unittests.BaseTest
 
build() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
build() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message.Builder
 
build() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property.Builder
 
buildPartial() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
buildPartial() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message.Builder
 
buildPartial() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property.Builder
 

C

clear() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
clear() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message.Builder
 
clear() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property.Builder
 
clearAckToken() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message.Builder
 
clearConnectionProperties() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
clearKey() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property.Builder
 
clearMessageQueue() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
clearPayload() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message.Builder
 
clearRandomSecret() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
clearValue() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property.Builder
 
ClientSocketSubstitute - Class in com.appenginefan.toolkit.common
A client-side subsitute for the common pattern of the blocking while(true) readline(); pattern
ClientSocketSubstitute(URL, int, int) - Constructor for class com.appenginefan.toolkit.common.ClientSocketSubstitute
Constructor.
clone() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
clone() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message.Builder
 
clone() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property.Builder
 
close() - Method in class com.appenginefan.toolkit.common.ClientSocketSubstitute
Closes the fake socket
close() - Method in class com.appenginefan.toolkit.common.ServerEndpoint
 
close() - Method in class com.appenginefan.toolkit.common.WebConnectionClient
Signals a running executing thread to cease its work.
com.appenginefan.toolkit.common - package com.appenginefan.toolkit.common
 
com.appenginefan.toolkit.common.data - package com.appenginefan.toolkit.common.data
 
com.appenginefan.toolkit.persistence - package com.appenginefan.toolkit.persistence
 
com.appenginefan.toolkit.unittests - package com.appenginefan.toolkit.unittests
 
commit(HttpServletRequest) - Method in interface com.appenginefan.toolkit.common.WebConnectionServer.ServerGuts
Commits any changes made to the store in this thread that have not been written yet.
Counter - Class in com.appenginefan.toolkit.common
A class that utilizes a combination of memcache and the datastore backend to implement a fast yet reliable counter.
Counter(Random, Persistence<byte[]>, MemcacheService, double, String, int) - Constructor for class com.appenginefan.toolkit.common.Counter
Constructor
createIdGenerator(String) - Static method in class com.appenginefan.toolkit.common.Counter
Creates a counter that does not loose count (in other words, it writes to the data store all the time).
createPageCounter(String, double) - Static method in class com.appenginefan.toolkit.common.Counter
Creates a counter that is not completely reliable (it might loose counts if memcache is resetted)
createQueue(String, Persistence<T>) - Static method in class com.appenginefan.toolkit.common.PersistentQueue
Creates a persistent queue, using the given backend and a given name
currentTimeMillis() - Method in class com.appenginefan.toolkit.common.HttpClientEnvironment
 
currentTimeMillis() - Method in interface com.appenginefan.toolkit.common.WebConnectionClient.Environment
Gets the current time in milliseconds

D

DatastorePersistence - Class in com.appenginefan.toolkit.persistence
A datastore-based persistence for byte arrays.
DatastorePersistence(DatastoreService, String) - Constructor for class com.appenginefan.toolkit.persistence.DatastorePersistence
Constructor.
DatastorePersistence(String) - Constructor for class com.appenginefan.toolkit.persistence.DatastorePersistence
Constructor.
dispatch(WebConnectionServer.Receiver, HttpServletRequest, HttpServletResponse) - Method in class com.appenginefan.toolkit.common.WebConnectionServer
Dispatches an incoming request.

E

execute(WebConnectionClient) - Method in class com.appenginefan.toolkit.common.HttpClientEnvironment
 
execute(WebConnectionClient) - Method in interface com.appenginefan.toolkit.common.WebConnectionClient.Environment
Controls the execution of the client's run-method in an independent thread.

F

fetch(String) - Method in class com.appenginefan.toolkit.common.HttpClientEnvironment
 
fetch(String) - Method in interface com.appenginefan.toolkit.common.WebConnectionClient.Environment
Performs an http request to the server
fromHandle(HttpServletRequest, String) - Method in class com.appenginefan.toolkit.common.WebConnectionServer
Loads a ServerEndpoint object from a given handle.
fromHandle(HttpServletRequest, String) - Method in interface com.appenginefan.toolkit.common.WebConnectionServer.ServerGuts
Loads a ServerEndpoint object from a given handle.
fromPeristence(Persistence<byte[]>) - Static method in class com.appenginefan.toolkit.common.WebConnectionServer
Factory-method; creates a server based on a binary store

G

get() - Method in class com.appenginefan.toolkit.common.Counter
Gets the current value
get(String) - Method in class com.appenginefan.toolkit.persistence.DatastorePersistence
 
get(String) - Method in class com.appenginefan.toolkit.persistence.MapBasedPersistence
 
get(String) - Method in class com.appenginefan.toolkit.persistence.MarshallingPersistence
 
get(String) - Method in interface com.appenginefan.toolkit.persistence.Persistence
Gets an entry from the store.
getAckToken() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message.Builder
 
getAckToken() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
getConnectionProperties(int) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
getConnectionProperties(int) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
getConnectionPropertiesCount() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
getConnectionPropertiesCount() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
getConnectionPropertiesList() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
getConnectionPropertiesList() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
getDefaultInstance() - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
getDefaultInstance() - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
getDefaultInstance() - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 
getDefaultInstanceForType() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
getDefaultInstanceForType() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
getDefaultInstanceForType() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message.Builder
 
getDefaultInstanceForType() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
getDefaultInstanceForType() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property.Builder
 
getDefaultInstanceForType() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 
getDescriptor() - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
getDescriptor() - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema
 
getDescriptor() - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
getDescriptor() - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 
getDescriptorForType() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
getDescriptorForType() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message.Builder
 
getDescriptorForType() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property.Builder
 
getEnvironmentOrNull() - Method in class com.appenginefan.toolkit.unittests.BaseTest
Returns the environment that should be used for the unit tests, or null if the default should be used.
getKey() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property.Builder
 
getKey() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 
getMessageQueue(int) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
getMessageQueue(int) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
getMessageQueueCount() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
getMessageQueueCount() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
getMessageQueueList() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
getMessageQueueList() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
getPayload() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message.Builder
 
getPayload() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
getPersistenceManagerFactory() - Method in class com.appenginefan.toolkit.unittests.TestInitializer
Gets the PersistenceManagerFactory that was created by this Initializer.
getProperty(String, String) - Method in class com.appenginefan.toolkit.common.ServerEndpoint
 
getRandomSecret() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
getRandomSecret() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
getSerializedSize() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
getSerializedSize() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
getSerializedSize() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 
getValue() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property.Builder
 
getValue() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 

H

hasAckToken() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message.Builder
 
hasAckToken() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
hasKey() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property.Builder
 
hasKey() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 
hasPayload() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message.Builder
 
hasPayload() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
hasRandomSecret() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
hasRandomSecret() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
hasValue() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property.Builder
 
hasValue() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 
HttpClientEnvironment - Class in com.appenginefan.toolkit.common
Environment for http-based communication that uses an apache http client
HttpClientEnvironment(String) - Constructor for class com.appenginefan.toolkit.common.HttpClientEnvironment
 

I

increment(long) - Method in class com.appenginefan.toolkit.common.Counter
Increments the value by a positive delta
initializer - Variable in class com.appenginefan.toolkit.unittests.BaseTest
The initializer used in this test.
internalGetFieldAccessorTable() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
internalGetFieldAccessorTable() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
internalGetFieldAccessorTable() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 
internalGetResult() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
internalGetResult() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message.Builder
 
internalGetResult() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property.Builder
 
isIdGenerator() - Method in class com.appenginefan.toolkit.common.Counter
Returns true if the counter is writing to the store each and every time, which makes it possible to use as an id generator.
isInitialized() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
isInitialized() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
isInitialized() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 

K

keyScan(String, String, int) - Method in class com.appenginefan.toolkit.persistence.DatastorePersistence
 
keyScan(String, String, int) - Method in class com.appenginefan.toolkit.persistence.MapBasedPersistence
 
keyScan(String, String, int) - Method in class com.appenginefan.toolkit.persistence.MarshallingPersistence
 
keyScan(String, String, int) - Method in interface com.appenginefan.toolkit.persistence.Persistence
Finds zero or more entries that are within a given range.
keyScanReverse(String, String, int) - Method in class com.appenginefan.toolkit.persistence.DatastorePersistence
 
keyScanReverse(String, String, int) - Method in class com.appenginefan.toolkit.persistence.MapBasedPersistence
 
keyScanReverse(String, String, int) - Method in class com.appenginefan.toolkit.persistence.MarshallingPersistence
 
keyScanReverse(String, String, int) - Method in interface com.appenginefan.toolkit.persistence.Persistence
Finds zero or more entries that are within a given range, but orders in the opposite direction.

L

loadServerEndpoint(HttpServletRequest, String) - Method in interface com.appenginefan.toolkit.common.WebConnectionServer.ServerGuts
Assumed a given request belongs to an existing ServerEndpoint, loads that object.
LongPersistence - Class in com.appenginefan.toolkit.persistence
Storage specialized in persisting long values.
LongPersistence(Persistence<byte[]>) - Constructor for class com.appenginefan.toolkit.persistence.LongPersistence
 

M

makeArray(Long) - Method in class com.appenginefan.toolkit.persistence.LongPersistence
 
makeArray(T) - Method in class com.appenginefan.toolkit.persistence.MarshallingPersistence
 
makeArray(T) - Method in class com.appenginefan.toolkit.persistence.ObjectPersistence
 
makeArray(T) - Method in class com.appenginefan.toolkit.persistence.ProtocolBufferPersistence
 
makeArray(String) - Method in class com.appenginefan.toolkit.persistence.StringPersistence
 
makeType(byte[]) - Method in class com.appenginefan.toolkit.persistence.LongPersistence
 
makeType(byte[]) - Method in class com.appenginefan.toolkit.persistence.MarshallingPersistence
 
makeType(byte[]) - Method in class com.appenginefan.toolkit.persistence.ObjectPersistence
 
makeType(byte[]) - Method in class com.appenginefan.toolkit.persistence.ProtocolBufferPersistence
 
makeType(byte[]) - Method in class com.appenginefan.toolkit.persistence.StringPersistence
 
MapBasedPersistence<T> - Class in com.appenginefan.toolkit.persistence
A simple, map-based store that holds data in memory.
MapBasedPersistence() - Constructor for class com.appenginefan.toolkit.persistence.MapBasedPersistence
 
MarshallingPersistence<T> - Class in com.appenginefan.toolkit.persistence
Wraps around a byte array based persistence for the backend but uses a different type.
MarshallingPersistence(Persistence<byte[]>) - Constructor for class com.appenginefan.toolkit.persistence.MarshallingPersistence
 
mergeFrom(Message) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
mergeFrom(ProtoSchema.ConnectionState) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
mergeFrom(CodedInputStream) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistry) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
mergeFrom(Message) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message.Builder
 
mergeFrom(ProtoSchema.Message) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message.Builder
 
mergeFrom(CodedInputStream) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistry) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message.Builder
 
mergeFrom(Message) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property.Builder
 
mergeFrom(ProtoSchema.Property) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property.Builder
 
mergeFrom(CodedInputStream) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistry) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property.Builder
 
mutate(String, Function<? super byte[], ? extends byte[]>) - Method in class com.appenginefan.toolkit.persistence.DatastorePersistence
 
mutate(String, Function<? super T, ? extends T>) - Method in class com.appenginefan.toolkit.persistence.MapBasedPersistence
 
mutate(String, Function<? super T, ? extends T>) - Method in class com.appenginefan.toolkit.persistence.MarshallingPersistence
 
mutate(String, Function<? super T, ? extends T>) - Method in interface com.appenginefan.toolkit.persistence.Persistence
Modifies an entry in the store.

N

newBuilder() - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
newBuilder(ProtoSchema.ConnectionState) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
newBuilder() - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
newBuilder(ProtoSchema.Message) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
newBuilder() - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 
newBuilder(ProtoSchema.Property) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 
newBuilderForType() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
newBuilderForType() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
newBuilderForType() - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 
newInstance() - Static method in class com.appenginefan.toolkit.persistence.MapBasedPersistence
Factory method
newPersistenceManager() - Method in class com.appenginefan.toolkit.unittests.BaseTest
Convenience method: gets a new PersistenceManager
newServerEndpoint(HttpServletRequest) - Method in interface com.appenginefan.toolkit.common.WebConnectionServer.ServerGuts
For the given HttpServletRequest, create a new server endpoint.

O

ObjectPersistence<T extends Serializable> - Class in com.appenginefan.toolkit.persistence
A persistence that uses serialization to put objects into a store.
ObjectPersistence(Persistence<byte[]>) - Constructor for class com.appenginefan.toolkit.persistence.ObjectPersistence
 
offer(T) - Method in class com.appenginefan.toolkit.common.PersistentQueue
Inserts the specified element into this queue, if possible.
onEmptyPayload(WebConnectionServer, ServerEndpoint, HttpServletRequest) - Method in interface com.appenginefan.toolkit.common.WebConnectionServer.Receiver
 
open() - Method in class com.appenginefan.toolkit.common.ServerEndpoint
 
open(WebConnectionClient.Receiver) - Method in class com.appenginefan.toolkit.common.WebConnectionClient
Starts a thread (through the executor) that connects to the server on a regular base

P

parseFrom(ByteString) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
parseFrom(ByteString, ExtensionRegistry) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
parseFrom(byte[]) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
parseFrom(byte[], ExtensionRegistry) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
parseFrom(InputStream) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
parseFrom(InputStream, ExtensionRegistry) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
parseFrom(CodedInputStream) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
parseFrom(CodedInputStream, ExtensionRegistry) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
parseFrom(ByteString) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
parseFrom(ByteString, ExtensionRegistry) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
parseFrom(byte[]) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
parseFrom(byte[], ExtensionRegistry) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
parseFrom(InputStream) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
parseFrom(InputStream, ExtensionRegistry) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
parseFrom(CodedInputStream) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
parseFrom(CodedInputStream, ExtensionRegistry) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
parseFrom(ByteString) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 
parseFrom(ByteString, ExtensionRegistry) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 
parseFrom(byte[]) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 
parseFrom(byte[], ExtensionRegistry) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 
parseFrom(InputStream) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 
parseFrom(InputStream, ExtensionRegistry) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 
parseFrom(CodedInputStream) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 
parseFrom(CodedInputStream, ExtensionRegistry) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 
peek() - Method in class com.appenginefan.toolkit.common.PersistentQueue
Retrieves, but does not remove, the head of this queue, returning null if this queue is empty.
Persistence<T> - Interface in com.appenginefan.toolkit.persistence
Represents a simple way of persisting a particular object type.
PersistentQueue<T> - Class in com.appenginefan.toolkit.common
An experimental!! class that can be used to persist objects in the data store in an ordered fashion.
PersistentQueue(Counter, Persistence<T>, String) - Constructor for class com.appenginefan.toolkit.common.PersistentQueue
Constructor
poll() - Method in class com.appenginefan.toolkit.common.PersistentQueue
Retrieves and removes the head of this queue, or null if this queue is empty.
println(String) - Method in class com.appenginefan.toolkit.common.ClientSocketSubstitute
Sends a snippet of data to the server.
ProtocolBufferPersistence<T extends Message> - Class in com.appenginefan.toolkit.persistence
Persistence that uses googles protocol buffer framework for efficient representation and serialization of data.
ProtocolBufferPersistence(Persistence<byte[]>, T) - Constructor for class com.appenginefan.toolkit.persistence.ProtocolBufferPersistence
Constructor
ProtoSchema - Class in com.appenginefan.toolkit.common.data
 
ProtoSchema.ConnectionState - Class in com.appenginefan.toolkit.common.data
 
ProtoSchema.ConnectionState.Builder - Class in com.appenginefan.toolkit.common.data
 
ProtoSchema.Message - Class in com.appenginefan.toolkit.common.data
 
ProtoSchema.Message.Builder - Class in com.appenginefan.toolkit.common.data
 
ProtoSchema.Property - Class in com.appenginefan.toolkit.common.data
 
ProtoSchema.Property.Builder - Class in com.appenginefan.toolkit.common.data
 

R

readLine() - Method in class com.appenginefan.toolkit.common.ClientSocketSubstitute
Gets the next line from the server.
receive(String) - Method in interface com.appenginefan.toolkit.common.WebConnectionClient.Receiver
 
receive(WebConnectionServer, ServerEndpoint, String, HttpServletRequest) - Method in interface com.appenginefan.toolkit.common.WebConnectionServer.Receiver
 
registerAllExtensions(ExtensionRegistry) - Static method in class com.appenginefan.toolkit.common.data.ProtoSchema
 
rollback(HttpServletRequest) - Method in interface com.appenginefan.toolkit.common.WebConnectionServer.ServerGuts
Commits any changes made to the store in this thread that have not been written yet.
runTest() - Method in class com.appenginefan.toolkit.unittests.BaseTest
Runs the test and remembers whether an exception was thrown (needed for proper teardown of test)

S

scan(String, String, int, Query.SortDirection, boolean) - Method in class com.appenginefan.toolkit.persistence.DatastorePersistence
 
scan(String, String, int) - Method in class com.appenginefan.toolkit.persistence.DatastorePersistence
 
scan(String, String, int) - Method in class com.appenginefan.toolkit.persistence.MapBasedPersistence
 
scan(String, String, int) - Method in class com.appenginefan.toolkit.persistence.MarshallingPersistence
 
scan(String, String, int) - Method in interface com.appenginefan.toolkit.persistence.Persistence
Finds zero or more entries that are within a given range
scanByPrefix(Persistence<T>, String, int) - Static method in class com.appenginefan.toolkit.persistence.Utilities
Finds zero or more entries that start with a given prefix
scanExclusive(Persistence<T>, String, String, int) - Static method in class com.appenginefan.toolkit.persistence.Utilities
Finds zero or more entries that are within a given range, with the start also being exclusive.
scanReverse(String, String, int) - Method in class com.appenginefan.toolkit.persistence.DatastorePersistence
 
scanReverse(String, String, int) - Method in class com.appenginefan.toolkit.persistence.MapBasedPersistence
 
scanReverse(String, String, int) - Method in class com.appenginefan.toolkit.persistence.MarshallingPersistence
 
scanReverse(String, String, int) - Method in interface com.appenginefan.toolkit.persistence.Persistence
Finds zero or more entries that are within a given range, but orders in the opposite direction.
scanReverseByPrefix(Persistence<T>, String, int) - Static method in class com.appenginefan.toolkit.persistence.Utilities
Finds zero or more entries that start with a given prefix.
scanReverseExclusive(Persistence<T>, String, String, int) - Static method in class com.appenginefan.toolkit.persistence.Utilities
Finds zero or more entries that are within a given range, with the start also being exclusive.
send(String) - Method in class com.appenginefan.toolkit.common.ServerEndpoint
 
send(String) - Method in class com.appenginefan.toolkit.common.WebConnectionClient
Enqueues an object for transmission.
ServerEndpoint - Class in com.appenginefan.toolkit.common
A single endpoint for a WebConnectionClient.
setAckToken(int) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message.Builder
 
setConnectionProperties(int, ProtoSchema.Property) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
setConnectionProperties(int, ProtoSchema.Property.Builder) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
setKey(String) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property.Builder
 
setMessageQueue(int, ProtoSchema.Message) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
setMessageQueue(int, ProtoSchema.Message.Builder) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
setPayload(String) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message.Builder
 
setProperty(String, String) - Method in class com.appenginefan.toolkit.common.ServerEndpoint
 
setRandomSecret(String) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState.Builder
 
setUp() - Method in class com.appenginefan.toolkit.unittests.BaseTest
Sets up the App Engine environment.
setUp() - Method in class com.appenginefan.toolkit.unittests.TestInitializer
Sets up a unit test with the options stored in this object.
setValue(String) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property.Builder
 
sleep(long) - Method in class com.appenginefan.toolkit.common.HttpClientEnvironment
 
sleep(long) - Method in interface com.appenginefan.toolkit.common.WebConnectionClient.Environment
Holds the current thread for a certain amount of milliseconds
StoreException - Exception in com.appenginefan.toolkit.persistence
Represents a problem that occurred while doing an operation on the store.
StoreException() - Constructor for exception com.appenginefan.toolkit.persistence.StoreException
 
StoreException(String, Throwable) - Constructor for exception com.appenginefan.toolkit.persistence.StoreException
 
StringPersistence - Class in com.appenginefan.toolkit.persistence
Storage specialized in persisting strings.
StringPersistence(Persistence<byte[]>) - Constructor for class com.appenginefan.toolkit.persistence.StringPersistence
 

T

tearDown() - Method in class com.appenginefan.toolkit.unittests.BaseTest
Deconstructs the App Engine environment.
tearDown(boolean) - Method in class com.appenginefan.toolkit.unittests.TestInitializer
Cleans up after a unit test.
TestInitializer - Class in com.appenginefan.toolkit.unittests
Initializes an App Engine environment for unit tests
TestInitializer(ApiProxy.Environment) - Constructor for class com.appenginefan.toolkit.unittests.TestInitializer
Constructor
TestInitializer() - Constructor for class com.appenginefan.toolkit.unittests.TestInitializer
Constructor with default parameters
toHandle(ServerEndpoint) - Method in interface com.appenginefan.toolkit.common.WebConnectionServer.ServerGuts
Converts a ServerEndpoint to a unique handle that can be used to persist inner state in a data store

U

Utilities - Class in com.appenginefan.toolkit.persistence
A set of useful static utility functions on Persistence objects

W

WebConnectionClient - Class in com.appenginefan.toolkit.common
A client than can connect to a WebConnection.
WebConnectionClient(URL, int, int) - Constructor for class com.appenginefan.toolkit.common.WebConnectionClient
Constructor.
WebConnectionClient(WebConnectionClient.Environment, int, int) - Constructor for class com.appenginefan.toolkit.common.WebConnectionClient
Constructor
WebConnectionClient.Environment - Interface in com.appenginefan.toolkit.common
Abstraction of everything that depends on the runtime environment, like system clock, threading, or network.
WebConnectionClient.Receiver - Interface in com.appenginefan.toolkit.common
Represents the receiving end of the communication
WebConnectionServer - Class in com.appenginefan.toolkit.common
Manages the peristence of server-side endpoints for a WebConnectionClient, and the execution of incoming requests.
WebConnectionServer(WebConnectionServer.ServerGuts) - Constructor for class com.appenginefan.toolkit.common.WebConnectionServer
Constructor
WebConnectionServer.Receiver - Interface in com.appenginefan.toolkit.common
Represents the receiving end of a communication
WebConnectionServer.ServerGuts - Interface in com.appenginefan.toolkit.common
Represents the inner works of a server.
writeState(HttpServletRequest, ServerEndpoint, HttpServletResponse) - Method in interface com.appenginefan.toolkit.common.WebConnectionServer.ServerGuts
Populate the cookies in a servlet response with whatever data is needed to support the loadServerEndpoint() method in future requests.
writeTo(CodedOutputStream) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.ConnectionState
 
writeTo(CodedOutputStream) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Message
 
writeTo(CodedOutputStream) - Method in class com.appenginefan.toolkit.common.data.ProtoSchema.Property
 

A B C D E F G H I K L M N O P R S T U W