Home | History | Annotate | Download | only in grpc

Lines Matching defs:methods

42   private final Map<String, ServerMethodDefinition<?, ?>> methods;
45 ServiceDescriptor serviceDescriptor, Map<String, ServerMethodDefinition<?, ?>> methods) {
47 this.methods =
48 Collections.unmodifiableMap(new HashMap<String, ServerMethodDefinition<?, ?>>(methods));
59 * Gets all the methods of service.
62 return methods.values();
72 return methods.get(methodName);
81 private final Map<String, ServerMethodDefinition<?, ?>> methods =
116 checkState(!methods.containsKey(name), "Method by same name already registered: %s", name);
117 methods.put(name, def);
128 = new ArrayList<MethodDescriptor<?, ?>>(methods.size());
129 for (ServerMethodDefinition<?, ?> serverMethod : methods.values()) {
135 new HashMap<String, ServerMethodDefinition<?, ?>>(methods);
154 return new ServerServiceDefinition(serviceDescriptor, methods);