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.
|
getMessageRestriction
void start(ClientProfile profile) throws java.io.IOException
profile
- object which can provide hub connectionsjava.io.IOException
boolean isRunning()
void stop() throws java.io.IOException
java.io.IOException
java.lang.String getProfileName()
getProfileName
in interface ProfileToken