|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.sam.SAMHandlerFactory
public class SAMHandlerFactory
SAM handler factory class.
Constructor Summary | |
---|---|
SAMHandlerFactory()
|
Method Summary | |
---|---|
static SAMHandler |
createSAMHandler(java.nio.channels.SocketChannel s,
java.util.Properties i2cpProps)
Return the right SAM handler depending on the protocol version required by the client. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SAMHandlerFactory()
Method Detail |
---|
public static SAMHandler createSAMHandler(java.nio.channels.SocketChannel s, java.util.Properties i2cpProps) throws SAMException
s
- Socket attached to SAM clienti2cpProps
- config options for our i2cp connection
SAMException
- if the connection handshake (HELLO message) was malformed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |