org.globus.cog.abstraction.interfaces
Interface ServiceContact

All Known Implementing Classes:
ServiceContactImpl

public interface ServiceContact

This interfaces abstracts the endpoint service handle of remote Grid services.


Method Summary
 boolean equals(ServiceContact serviceContact)
          Checks if the given ServiceContact is equal to this ServiceContact.
 String getContact()
          Returns the entire contact string of this ServiceContact
 String getHost()
          Returns the host element of this ServiceContact
 int getPort()
          Returns the port element of this ServiceContact
 void setContact(String contact)
          Sets the entire contact string of this ServiceContact
 void setHost(String host)
          Sets the host element of this ServiceContact
 void setPort(int port)
          Sets the port element of this ServiceContact
 

Method Detail

setHost

public void setHost(String host)
Sets the host element of this ServiceContact


getHost

public String getHost()
Returns the host element of this ServiceContact


setPort

public void setPort(int port)
Sets the port element of this ServiceContact


getPort

public int getPort()
Returns the port element of this ServiceContact


setContact

public void setContact(String contact)
Sets the entire contact string of this ServiceContact


getContact

public String getContact()
Returns the entire contact string of this ServiceContact


equals

public boolean equals(ServiceContact serviceContact)
Checks if the given ServiceContact is equal to this ServiceContact.