orbit-client / orbit.client.actor / createProxy

createProxy

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

Gets a reference to an Actor with no key.

Parameters

T - The type of Actor.

Return
The Actor reference.

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

Gets a reference to an Actor with a string key.

Parameters

T - The type of Actor.

key - The key.

Return
The Actor reference.

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

Gets a reference to an Actor with an int32 key.

Parameters

T - The type of Actor.

key - The key.

Return
The Actor reference.

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

Gets a reference to an Actor with a int64 key.

Parameters

T - The type of Actor.

key - The key.

Return
The Actor reference.