Uses of Class
net.morimekta.providence.descriptor.PService
-
Packages that use PService Package Description net.morimekta.providence net.morimekta.providence.descriptor net.morimekta.providence.serializer net.morimekta.providence.types -
-
Uses of PService in net.morimekta.providence
Methods in net.morimekta.providence that return PService Modifier and Type Method Description PServicePProcessor. getDescriptor()Get the descriptor for the given service.Methods in net.morimekta.providence with parameters of type PService Modifier and Type Method Description <Request extends PMessage<Request>,Response extends PMessage<Response>>
PServiceCall<Response>PServiceCallHandler. handleCall(PServiceCall<Request> call, PService service)Handle a service call. -
Uses of PService in net.morimekta.providence.descriptor
Methods in net.morimekta.providence.descriptor that return PService Modifier and Type Method Description PServicePService. getExtendsService()Get the service that this service extends.PServicePServiceMethod. getService()Get the service where this method is represented.PServicePServiceProvider. getService() -
Uses of PService in net.morimekta.providence.serializer
Methods in net.morimekta.providence.serializer with parameters of type PService Modifier and Type Method Description <Message extends PMessage<Message>>
PServiceCall<Message>BinarySerializer. deserialize(java.io.InputStream is, PService service)<Message extends PMessage<Message>>
PServiceCall<Message>FastBinarySerializer. deserialize(java.io.InputStream is, PService service)<T extends PMessage<T>>
PServiceCall<T>JsonSerializer. deserialize(java.io.InputStream input, PService service)<Message extends PMessage<Message>>
PServiceCall<Message>PrettySerializer. deserialize(java.io.InputStream input, PService service)abstract <Message extends PMessage<Message>>
PServiceCall<Message>Serializer. deserialize(java.io.InputStream input, PService service)Deserialize a service call. -
Uses of PService in net.morimekta.providence.types
Methods in net.morimekta.providence.types that return PService Modifier and Type Method Description PServiceTypeRegistry. requireService(TypeReference reference)Get the declared type with the given name and program context.Methods in net.morimekta.providence.types that return types with arguments of type PService Modifier and Type Method Description java.util.Optional<PService>SimpleTypeRegistry. getService(TypeReference reference)abstract java.util.Optional<PService>TypeRegistry. getService(TypeReference reference)Get a service definition from the name and program context.Methods in net.morimekta.providence.types with parameters of type PService Modifier and Type Method Description voidSimpleTypeRegistry. registerService(PService service)abstract voidWritableTypeRegistry. registerService(PService service)Services are not handled as "declared types", so they need to be registered separately.
-