public class I2PSimpleSession extends I2PSessionImpl2
I2PSessionImpl.AvailabilityNotifier, I2PSessionImpl.StateI2PSession.TunnelPair_noEffort, _sendingStates, _sendMessageNonce_availabilityNotifier, _availableMessages, _bwLimits, _bwReceivedLock, _context, _handlerMap, _hostname, _leaseSet, _leaseSetWait, _log, _pendingLookups, _portNum, _producer, _queue, _reader, _sessionListener, _socket, _state, _stateLock, _transientSigningPublicKey, _tunnelStatusListeners, _writer, CACHE_MAX_SIZE, DUMMY_SESSION, LISTEN_PORT, PROP_DOMAIN_SOCKETPORT_ANY, PORT_UNSPECIFIED, PROTO_ANY, PROTO_DATAGRAM, PROTO_DATAGRAM_RAW, PROTO_DATAGRAM2, PROTO_DATAGRAM3, PROTO_STREAMING, PROTO_UNSPECIFIED| Constructor and Description |
|---|
I2PSimpleSession(I2PAppContext context,
Properties options)Create a new session for doing naming and bandwidth queries only. |
| Modifier and Type | Method and Description |
|---|---|
void | connect()Connect to the router and establish a session. |
void | updateOptions(Properties options)Ignore, does nothing |
addMuxedSessionListener, addSessionListener, addTunnelStatusListener, destroySession, getCurrentTunnelPair, getTimeout, notifyPoolShuttingDown, notifyTunnelFailed, notifyTunnelRemoved, rebuildTunnels, receiveMessage, receiveStatus, reconnect, removeListener, removeTunnelStatusListener, sendBestEffort, sendBestEffort, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendNoEffort, setCurrentTunnelPair, shouldCompress, startVerifyUsage, switchToNewTunneladdNewMessage, addSubsession, bandwidthLimits, bwReceived, changeState, clearCache, dateUpdated, destLookupFailed, destLookupFailed, destReceived, destReceived, destroySession, disconnect, disconnected, getContext, getFastReceive, getHandlerMap, getLastLS2SignTime, getLeaseSet, getMyDestination, getName, getOfflineExpiration, getOfflineSignature, getOptions, getPrefix, getPrivateKey, getProducer, getRouterVersion, getSessionId, getSubsessions, getTransientSigningPublicKey, isClosed, isOffline, lastActivity, lookupDest, lookupDest, lookupDest, lookupDest, lookupDest, lookupDest, lookupDest2, messageReceived, propagateError, readError, removeSubsession, reportAbuse, sendBlindingInfo, sendMessage_unchecked, sendMessage, setLastLS2SignTime, setLeaseSet, setReduced, setSessionId, setSessionListener, shouldReconnect, supportsLS2, toString, updateActivity, verifyOpen, waitForDateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDecryptionKeypublic I2PSimpleSession(I2PAppContext context, Properties options) throws I2PSessionException
I2PSessionException - if there is a problempublic void connect()
throws I2PSessionExceptionconnect in interface I2PSessionconnect in class I2PSessionImplI2PSessionException - if there is a configuration error or the router is
not reachablepublic void updateOptions(Properties options)
updateOptions in interface I2PSessionupdateOptions in class I2PSessionImploptions - non-null