MCPcopy
hub / github.com/tinode/chat / isMultiplex

Method isMultiplex

server/session.go:238–240  ·  view source on GitHub ↗

Indicates whether this session is a local interface for a remote proxy topic. It multiplexes multiple sessions.

()

Source from the content-addressed store, hash-verified

236// Indicates whether this session is a local interface for a remote proxy topic.
237// It multiplexes multiple sessions.
238func (s *Session) isMultiplex() bool {
239 return s.proto == MULTIPLEX
240}
241
242// Indicates whether this session is a short-lived proxy for a remote session.
243func (s *Session) isProxy() bool {

Callers 15

addSubMethod · 0.95
isClusterMethod · 0.95
queueOutBatchMethod · 0.95
queueOutMethod · 0.95
queueOutBytesMethod · 0.95
serializeMethod · 0.95
closeRPCMethod · 0.95
initTopicFndFunction · 0.80
ShutdownMethod · 0.80
EvictUserMethod · 0.80
NodeRestartedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected