Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { *actor.Mailbox *actor.BasicServerOuter Rng *rand.Rand // contains filtered or unexported fields }
func NewConnection ¶
func NewConnection(yesman Handshaker, cm connectionmanager.ConnectionManager, logger log.Logger) *Connection
func (*Connection) ShutdownCompleted ¶
func (c *Connection) ShutdownCompleted()
func (*Connection) Status ¶
func (c *Connection) Status(sc *status.StatusConsumer)
func (*Connection) TopologyChanged ¶
func (c *Connection) TopologyChanged(topology *configuration.Topology, done func(bool))
type ConnectionMsgTopologyChanged ¶
type ConnectionMsgTopologyChanged struct { actor.MsgSyncQuery Topology *configuration.Topology // contains filtered or unexported fields }
func (*ConnectionMsgTopologyChanged) Exec ¶
func (msg *ConnectionMsgTopologyChanged) Exec() (bool, error)
type Handshaker ¶
type Protocol ¶
type Protocol interface { Run(*Connection) error TopologyChanged(*ConnectionMsgTopologyChanged) error Restart() bool InternalShutdown() }
Click to show internal directories.
Click to hide internal directories.