ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/catalina/tribes/group/ExtendedRpcCallback.java

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/catalina/tribes/group/ExtendedRpcCallback.java
Status
scanned
Type
file
Name
ExtendedRpcCallback.java
Extension
.java
Programming language
Java
Mime type
text/plain
File type
ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
1922 (1.9 KB)
MD5
d033d063cbadac2ac4b61b54a67d09ab
SHA1
9a492af8199af4d41ef676e2d3fa9f6148ec1a21
SHA256
274c1773d4c962f1c31ea0e67b6eb8d1d56a6c0e16bf418903ff6f1b274a61f8
SHA512

      
    
SHA1_git
8019102aecabc0aafb8570ef3125c79d851862a9
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
ExtendedRpcCallback.java | 1.9 KB |

/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.catalina.tribes.group; import java.io.Serializable; import org.apache.catalina.tribes.Member; /** * Extension to the {@link RpcCallback} interface. Allows an RPC messenger to get a confirmation if the reply was sent * successfully to the original sender. */ public interface ExtendedRpcCallback extends RpcCallback { /** * The reply failed. * * @param request - the original message that requested the reply * @param response - the reply message to the original message * @param sender - the sender requested that reply * @param reason - the reason the reply failed */ void replyFailed(Serializable request, Serializable response, Member sender, Exception reason); /** * The reply succeeded * * @param request - the original message that requested the reply * @param response - the reply message to the original message * @param sender - the sender requested that reply */ void replySucceeded(Serializable request, Serializable response, Member sender); }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
48.77
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 9 9