net.i2p.sam.client

## Class SAMStreamSend

- java.lang.Object
- - net.i2p.sam.client.SAMStreamSend

-     public class SAMStreamSend
      extends Object

  Swiss army knife tester. Sends a file (datafile) to a peer (b64 dest in peerDestFile). Usage: SAMStreamSend [options] peerDestFile dataFile See apps/sam/doc/README-test.txt for info on test setup. Sends data in one of 5 modes. Optionally uses SSL. Configurable SAM client version.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SAMStreamSend(I2PAppContext ctx, String samHost, String samPort, String destFile, String dataFile)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `main(String[] args)`
    `void` | `startup(String version, boolean isSSL, int mode, String user, String password, String sessionOpts)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SAMStreamSend

          public SAMStreamSend(I2PAppContext ctx,
                               String samHost,
                               String samPort,
                               String destFile,
                               String dataFile)

  - ### Method Detail

    - #### main

          public static void main(String[] args)

    - #### startup

          public void startup(String version,
                              boolean isSSL,
                              int mode,
                              String user,
                              String password,
                              String sessionOpts)