orbit-client / orbit.client.actor / ActorProxyFactory

ActorProxyFactory

class ActorProxyFactory

Functions

createProxy

Gets a reference to an Actor.

fun <T : ActorWithNoKey> createProxy(grainType: Class<T>): T

Gets a reference to an Actor with a string key.

fun <T : ActorWithStringKey> createProxy(grainType: Class<T>, key: String): T

Gets a reference to an Actor with an int32 key.

fun <T : ActorWithInt32Key> createProxy(grainType: Class<T>, key: Int): T

Gets a reference to an Actor with an int64 key.

fun <T : ActorWithInt64Key> createProxy(grainType: Class<T>, key: Long): T

Extension Functions

createProxy

Gets a reference to an Actor with no key.

fun <T : ActorWithNoKey> ActorProxyFactory.createProxy(): T

Gets a reference to an Actor with a string key.

fun <T : ActorWithStringKey> ActorProxyFactory.createProxy(key: String): T

Gets a reference to an Actor with an int32 key.

fun <T : ActorWithInt32Key> ActorProxyFactory.createProxy(key: Int): T

Gets a reference to an Actor with a int64 key.

fun <T : ActorWithInt64Key> ActorProxyFactory.createProxy(key: Long): T