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