public class ServiceTypesAndProtocols
extends java.lang.Object
Constructor and Description |
---|
ServiceTypesAndProtocols() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLongDescriptionFor(java.lang.String type)
Gets the long description for the type
|
BonjourService |
getProtocolFor(java.lang.String type)
Returns an input form for the given type
|
void |
registerServiceType(java.lang.String type,
java.lang.String description)
Registers a service type with an input form for interfacing with a application for interfacing with a command
line application that is designed to connect to this service.
|
void |
registerServiceType(java.lang.String type,
java.lang.String description,
BonjourService protocol)
Registers a service type with an input form for interfacing with a application for interfacing with a command
line application that is designed to connect to this service.
|
public void registerServiceType(java.lang.String type, java.lang.String description, BonjourService protocol)
type
- description
- protocol
- public void registerServiceType(java.lang.String type, java.lang.String description)
type
- description
- public BonjourService getProtocolFor(java.lang.String type)
type
- public java.lang.String getLongDescriptionFor(java.lang.String type)
type
-