Class IFileServiceGrpc.IFileServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<IFileServiceGrpc.IFileServiceStub>
io.grpc.stub.AbstractAsyncStub<IFileServiceGrpc.IFileServiceStub>
Arp.System.Commons.Services.Io.Grpc.IFileServiceGrpc.IFileServiceStub
Enclosing class:
IFileServiceGrpc

public static final class IFileServiceGrpc.IFileServiceStub extends io.grpc.stub.AbstractAsyncStub<IFileServiceGrpc.IFileServiceStub>
  • Constructor Details

    • IFileServiceStub

      private IFileServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
  • Method Details

    • build

      protected IFileServiceGrpc.IFileServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<IFileServiceGrpc.IFileServiceStub>
    • exists

      public void exists(IFileServiceOuterClass.IFileServiceExistsRequest request, io.grpc.stub.StreamObserver<IFileServiceOuterClass.IFileServiceExistsResponse> responseObserver)
      / <summary>
       / Checks if the specified file exists.
       / </summary>
       / <param name="path">Path of the file to check.</param>
       / <returns>
       / <c>true</c> if the file exists, otherwise <c>false</c>.
       / </returns>
       
    • delete

      public void delete(IFileServiceOuterClass.IFileServiceDeleteRequest request, io.grpc.stub.StreamObserver<IFileServiceOuterClass.IFileServiceDeleteResponse> responseObserver)
      / <summary>
       / Deletes the specified file.
       / </summary>
       / <param name="filePath">The pathe of the file to delete.</param>
       / <returns>
       / Result of the action.
       / </returns>
       
    • move

      public void move(IFileServiceOuterClass.IFileServiceMoveRequest request, io.grpc.stub.StreamObserver<IFileServiceOuterClass.IFileServiceMoveResponse> responseObserver)
      / <summary>
       / Moves the specified file.
       / </summary>
       / <param name="createDirectory">if set to <c>true</c> the directory of the file is created (recursively), if it does not exists yet.</param>
       / <param name="overwrite">if set to <c>true</c> the destination file is overwritten, if it yet exists, otherwise an error is returned.</param>
       / <param name="sourceFilePath">The source path of the file to move.</param>
       / <param name="destinationFilePath">The destination path of the file to move.</param>
       / <returns>
       / Result of the action.
       / </returns>
       
    • copy

      public void copy(IFileServiceOuterClass.IFileServiceCopyRequest request, io.grpc.stub.StreamObserver<IFileServiceOuterClass.IFileServiceCopyResponse> responseObserver)
      / <summary>
       / Copies the specified files.
       / </summary>
       / <param name="createDirectory">if set to <c>true</c> the directory of the file is created (recursively), if it does not exists yet.</param>
       / <param name="overwrite">if set to <c>true</c> the destination file is overwritten, if it yet exists, otherwise an error is returned.</param>
       / <param name="sourceFilePath">The source path of the file to copy.</param>
       / <param name="destinationFilePath">The destination path of the file to copy.</param>
       / <returns>
       / Result of the action.
       / </returns>