org.starhope.appius.via
Interface ViaMunita<T>

Type Parameters:
T - type

public interface ViaMunita<T>

This serves as the remote endpoint of a server-to-server link

Author:
brpocock@star-hope.org

Method Summary
 String getViaAppiaHostname()
           
 String getViaAppiaRemoteEndpointID()
           
 int getViaAppiaServerPort()
           
 Class<T> getViaPeerClass()
           
 

Method Detail

getViaAppiaHostname

String getViaAppiaHostname()
Returns:
The hostname of the Via Appia peer (Appius server) on which the remote object is actually located

getViaAppiaRemoteEndpointID

String getViaAppiaRemoteEndpointID()
Returns:
The object endpoint code of the Via Appia peer (Appius server) on which the remote object is actually located

getViaAppiaServerPort

int getViaAppiaServerPort()
Returns:
The port number of the Via Appia peer (Appius server) on which the remote object is actually located

getViaPeerClass

Class<T> getViaPeerClass()
Returns:
the class of the ViaAppia peer. This is a hack to obtain the generic type equivalences stuff for the implementers, and can probably be factored out if I get smarter about reflection and generics.