Interface RasnetServiceFactory

  • All Known Implementing Classes:
    RasnetServiceFactoryImpl

    public interface RasnetServiceFactory
    Factory for creating channels and services for ranset.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      io.grpc.ManagedChannel createChannel​(java.lang.String host, int port)
      Create a channel for connecting to a server.
      org.rasdaman.rasnet.service.ClientRassrvrServiceGrpc.ClientRassrvrServiceBlockingStub createClientRasServerService​(io.grpc.Channel channel)
      Create a communication service between client and rasserver.
      org.rasdaman.rasnet.service.HealthServiceGrpc.HealthServiceBlockingStub createHealthService​(io.grpc.Channel channel)
      Create a health service uses to check the liveliness between a server (rasmgr or rasserver) and the client.
      org.rasdaman.rasnet.service.RasmgrClientServiceGrpc.RasmgrClientServiceBlockingStub createRasmgrClientService​(io.grpc.Channel channel)
      Create a communication service between client and rasmgr.
    • Method Detail

      • createRasmgrClientService

        org.rasdaman.rasnet.service.RasmgrClientServiceGrpc.RasmgrClientServiceBlockingStub createRasmgrClientService​(io.grpc.Channel channel)
        Create a communication service between client and rasmgr.
        Parameters:
        channel - Channel holding the connection between the client and rasmgr
        Returns:
        A grpc service.
      • createClientRasServerService

        org.rasdaman.rasnet.service.ClientRassrvrServiceGrpc.ClientRassrvrServiceBlockingStub createClientRasServerService​(io.grpc.Channel channel)
        Create a communication service between client and rasserver.
        Parameters:
        channel - Channel holing the connection between the client and rasserver.
        Returns:
        A grpc service.
      • createHealthService

        org.rasdaman.rasnet.service.HealthServiceGrpc.HealthServiceBlockingStub createHealthService​(io.grpc.Channel channel)
        Create a health service uses to check the liveliness between a server (rasmgr or rasserver) and the client.
        Parameters:
        channel - Channel holing the connection between the client and rasserver.
        Returns:
        A grpc service.
      • createChannel

        io.grpc.ManagedChannel createChannel​(java.lang.String host,
                                             int port)
        Create a channel for connecting to a server.
        Parameters:
        host - The server host.
        port - The server port.
        Returns:
        A channel.