public interface HubProfile extends ProfileToken
Modifier and Type | Method and Description |
---|---|
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 IOException
profile
- object which can provide hub connectionsIOException
boolean isRunning()
void stop() throws IOException
IOException
String getProfileName()
getProfileName
in interface ProfileToken
Copyright © 2008–2024. All rights reserved.