Package i2p.susi.webmail.pop3
Class SockMgr
java.lang.Object
i2p.susi.webmail.pop3.SockMgr
- All Implemented Interfaces:
I2PSocketManager.DisconnectListener
Standalone only, bridge to I2PSocketManager.
- Since:
- 0.9.70 adapted from I2PSnarkUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconnect()Connect to the router, if we aren't alreadyconnect(Destination peer, int port) connect to the given destinationbooleanvoidDestroy the destination itselfgetDestination(String ip) Base64 Hash or Hash.i2p or name.i2p using naming servicebooleanvoidDisconnectListener interface
-
Constructor Details
-
SockMgr
-
-
Method Details
-
connect
public boolean connect()Connect to the router, if we aren't already -
sessionDisconnected
public void sessionDisconnected()DisconnectListener interface- Specified by:
sessionDisconnectedin interfaceI2PSocketManager.DisconnectListener
-
connected
public boolean connected() -
isConnecting
public boolean isConnecting() -
getSocketManager
- Returns:
- null if not connected
-
disconnect
public void disconnect()Destroy the destination itself -
connect
connect to the given destination- Throws:
IOException
-
getDestination
Base64 Hash or Hash.i2p or name.i2p using naming service -
lookup
-