public interface HubProfile extends ProfileToken
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProfileName()
Returns the name of this profile.
|
boolean |
isRunning()
Indicates whether this profile is currently running.
|
void |
start(ClientProfile profile)
Starts this profile's activity allowing access to a given supplier of
hub connections.
|
void |
stop()
Ends this profile's activity on behalf of the hub.
|
getMessageRestrictionvoid start(ClientProfile profile) throws java.io.IOException
profile - object which can provide hub connectionsjava.io.IOExceptionboolean isRunning()
void stop() throws java.io.IOException
java.io.IOExceptionjava.lang.String getProfileName()
getProfileName in interface ProfileToken