|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.appsystem.services.net.landiscovery.ServiceDescriptor
public class ServiceDescriptor
The Class ServiceDescriptor.
Constructor Summary | |
---|---|
ServiceDescriptor()
Instantiates a new service descriptor. |
Method Summary | |
---|---|
int |
compareTo(ServiceDescriptor o)
|
boolean |
equals(java.lang.Object obj)
|
java.net.InetAddress |
getServiceAddress()
Gets the service address. |
static ServiceDescriptor |
getServiceDescriptorFromStringRepresentation(java.lang.String s)
Gets the service descriptor from string representation. |
java.lang.String |
getServiceName()
Gets the service name. |
int |
getServicePort()
Gets the service port. |
java.lang.String |
getServiceType()
Gets the service type. |
java.lang.String |
getStringRepresentation()
Gets the string representation. |
java.lang.String |
getUserData()
Gets the user data. |
int |
hashCode()
|
void |
setServiceAddress(java.net.InetAddress serviceAddress)
Sets the service address. |
void |
setServiceName(java.lang.String serviceName)
Sets the service name. |
void |
setServicePort(int servicePort)
Sets the service port. |
void |
setServiceType(java.lang.String serviceType)
Sets the service type. |
void |
setUserData(java.lang.String userData)
Sets the user data. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceDescriptor()
Method Detail |
---|
public static ServiceDescriptor getServiceDescriptorFromStringRepresentation(java.lang.String s)
s
- the s
public int compareTo(ServiceDescriptor o)
compareTo
in interface java.lang.Comparable<ServiceDescriptor>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.net.InetAddress getServiceAddress()
public java.lang.String getServiceName()
public int getServicePort()
public java.lang.String getServiceType()
public java.lang.String getStringRepresentation()
public java.lang.String getUserData()
public int hashCode()
hashCode
in class java.lang.Object
public void setServiceAddress(java.net.InetAddress serviceAddress)
serviceAddress
- the new service addresspublic void setServiceName(java.lang.String serviceName)
serviceName
- the new service namepublic void setServicePort(int servicePort)
servicePort
- the new service portpublic void setServiceType(java.lang.String serviceType)
serviceType
- the new service typepublic void setUserData(java.lang.String userData)
userData
- the new user data
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |