Saros
Distributed Collaborative Editing and Distributed Party Programming
Package de.fu_berlin.inf.dpp.net

Packages

package  business
package  internal
package  mdns
package  stun
package  upnp
package  util
package  xmpp

Classes

class  DispatchThreadContext
interface  IConnectionManager
interface  IPacketInterceptor
interface  IReceiver
interface  ITransferListener
interface  ITransmitter
class  PacketCollector

Enumerations

enum  ConnectionMode {
  NONE = ("UNKNOWN"), IBB = ("IBB"), SOCKS5_MEDIATED = ("SOCKS5 (M)"), SOCKS5_DIRECT,
  TCP = ("TCP")
}
enum  ConnectionState {
  getAllowedFollowState, getAllowedFollowState, getAllowedFollowState, getAllowedFollowState,
  ERROR
}

Detailed Description

The net package manages all of Saros's connectivity.

For an overview of this package, please see http://www.saros-project.org/networklayer.


Enumeration Type Documentation

Enumerator:
NONE 
IBB 
SOCKS5_MEDIATED 
SOCKS5_DIRECT 
TCP 
    . . . . . /--------------------------------\
    . . . . . | . . . . . . . . . . . . . . .. |
    . . . . . v . . . . . . . . . . . . . . .. |
    o-> NOT_CONNECTED ----> CONNECTING <---> ERROR
    . . . . . ^ . . . . . . . . | . . . . . .. ^
    . . . . . | . . . . . . . . v . . . . . .. |
    . . DISCONNECTING <---- CONNECTED ---------/
 
Enumerator:
getAllowedFollowState 

Valid next states: CONNECTING (usually triggered by an user action to connect)

getAllowedFollowState 

Valid next states:

  • ERROR (if the attempt to connect failed)
  • CONNECTED (if the attempt to connect was successful)
getAllowedFollowState 

Valid follow states:

  • ERROR (if the connection broke)
  • DISCONNECTING (if the user disconnected)
getAllowedFollowState 

Valid follow states:

  • NOT_CONNECTED
ERROR 

Valid follow states:

  • NOT_CONNECTED
  • CONNECTING
 All Classes Namespaces Files Functions Variables Enumerations