Package net.i2p.sam
package net.i2p.sam
The SAM client API.
-
ClassDescriptionSomething that can be stopped by the SAMBridge.A session that does nothing, but implements interfaces for raw, datagram, and streaming for convenience.Modified from I2PTunnelHTTPServer Handles UTF-8.SAM bridge implementation.Interface for sending raw data to a SAM clientSAM DATAGRAM session class.Exception thrown by SAM methodsBase class for SAM protocol handlers.SAM handler factory class.Exception thrown by SAM methods when an application tries to create outgoing connections through a receive-only SAM session.Base interface for SAMMessageSession, which is the base for v1/v3 datagram and raw sessions.Base abstract class for SAM message-based sessions.Interface for sending raw data to a SAM clientSAM RAW session class.This is the "default" implementation of the SAMSecureSession @interface that behaves exactly like SAM without interactive authentication.SAMSecureSessionInterface is used for implementing interactive authentication to SAM applications.Interface for sending streaming data to a SAM clientSAM STREAM session class.Lets us push data through the stream without blocking, (even after exceeding the I2PSocket's buffer)Miscellaneous utility methods used by SAM protocol handlers.Class able to handle a SAM version 1 client connections.Class able to handle a SAM version 2 client connection.SAMv2 STREAM session class.This is the thread listening on 127.0.0.1:7655 or as specified by sam.udp.host and sam.udp.port properties.Class able to handle a SAM version 3 client connection.SAMv3 STREAM session class.A V3 session.The values in the SessionsDBbasically a HashMap from String to SessionRecordSimple wrapper for a SSLServerSocket.Simple wrapper for a SSLSocket.Utilities for SAM SSL server sockets.An unbuffered version of InputStreamReader.