package net.i2p.sam.client

Demo and test client classes. But if you are writing a Java app, you should probably be using native I2CP (the Invisible Internet Client Protocol), not SAM.

SAMClientEventListenerImpl, SAMEventHandler, and SAMReader are a SAM client API in Java, useful for event based streaming (or for testing the SAM bridge).

SAMStreamSink and SAMStreamSend are a pair of SAM demo apps mirroring the streaming lib's StreamSink and StreamSend demo apps for transferring files.


  • Class
    Description
    Basic noop client event listener.
    Simple helper implementation of a the SAMClientEventListener.
    Read from a socket, producing events for any SAM message read.
    Async event notification interface for SAM clients.
    Swiss army knife tester.
    Swiss army knife tester.
    Sends periodic ping messages on the stream.
    Utilities for SAM SSL server sockets.