com.caucho.bam.actor
Interface ActorClientFactory
- All Known Implementing Classes:
- LocalActorFactoryImpl
public interface ActorClientFactory
ActorClientFactory creates new ActorClients to be used as
a connection. The factory will set the link stream.
Method Summary |
ActorSender |
createClient(java.lang.String uid,
java.lang.String resource)
Creates a new ActorClient with the user id and a suggested resource. |
createClient
ActorSender createClient(java.lang.String uid,
java.lang.String resource)
- Creates a new ActorClient with the user id and a suggested resource. If the
resource is already in use or the resource is missing, the
factory will create a new unique name.