Uses of Class
net.i2p.sam.SAMv3Handler
Package | Description |
---|---|
net.i2p.sam |
The SAM client API.
|
-
Uses of SAMv3Handler in net.i2p.sam
Methods in net.i2p.sam that return SAMv3Handler Modifier and Type Method Description SAMv3Handler
SessionRecord. getHandler()
Methods in net.i2p.sam with parameters of type SAMv3Handler Modifier and Type Method Description void
MasterSession. accept(SAMv3Handler handler, boolean verbose)
void
SAMv3StreamSession. accept(SAMv3Handler handler, boolean verbose)
Accept a single incoming STREAM on the socket stolen from the handler.void
MasterSession. connect(SAMv3Handler handler, String dest, Properties props)
void
SAMv3StreamSession. connect(SAMv3Handler handler, String dest, Properties props)
Connect the SAM STREAM session to the specified Destination for a single connection, using the socket stolen from the handler.(package private) static SocketAddress
SAMv3RawSession. getSocketAddress(Properties props, SAMv3Handler handler)
Constructors in net.i2p.sam with parameters of type SAMv3Handler Constructor Description MasterSession(String nick, SAMv3DatagramServer dgServer, SAMv3Handler handler, Properties props)
Build a Session according to information registered with the given nickname.SAMv3DatagramSession(String nick, Properties props, SAMv3Handler handler, I2PSession isess, int listenPort, SAMv3DatagramServer dgServer)
Build a Datagram Session on an existing i2p session registered with the given nickname Caller MUST call start().SAMv3RawSession(String nick, Properties props, SAMv3Handler handler, I2PSession isess, int listenProtocol, int listenPort, SAMv3DatagramServer dgServer)
Build a Raw Session on an existing i2p session registered with the given nickname Caller MUST call start().SAMv3StreamSession(String login, Properties props, SAMv3Handler handler, I2PSocketManager mgr, int listenPort)
Build a Stream Session on an existing I2P session registered with the given nickname Caller MUST call start().SessionRecord(String dest, Properties props, SAMv3Handler handler)