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, 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.
-
Interface Summary Interface Description SAMReader.SAMClientEventListener Async event notification interface for SAM clients -
Class Summary Class Description SAMClientEventListenerImpl Basic noop client event listenerSAMEventHandler Simple helper implementation of a the SAMClientEventListenerSAMReader Read from a socket, producing events for any SAM message readSAMStreamSend Swiss army knife tester.SAMStreamSink Swiss army knife tester.SSLUtil Utilities for SAM SSL server sockets.