fun <T : ActorWithNoKey> createProxy(grainType: Class<T>): T
Gets a reference to an Actor.
T - The type of Actor.
Return
The Actor reference.
fun <T : ActorWithStringKey> createProxy(grainType: Class<T>, key: String): T
Gets a reference to an Actor with a string key.
T - The type of Actor.
Return
The Actor reference.
fun <T : ActorWithInt32Key> createProxy(grainType: Class<T>, key: Int): T
Gets a reference to an Actor with an int32 key.
T - The type of Actor.
Return
The Actor reference.
fun <T : ActorWithInt64Key> createProxy(grainType: Class<T>, key: Long): T
Gets a reference to an Actor with an int64 key.
T - The type of Actor.
Return
The Actor reference.