Module: STAN
- Defined in:
- lib/stan/client.rb,
lib/stan/version.rb,
lib/stan/pb/protocol.pb.rb
Defined Under Namespace
Modules: Protocol Classes: BadConnectionError, Client, CloseReqTimeoutError, ConnectError, ConnectReqTimeoutError, Error, SubReqTimeoutError, Subscription, TimeoutError
Constant Summary collapse
- DEFAULT_ACKS_SUBJECT =
Subject namespaces for clients to ack and connect
"_STAN.acks".freeze
- DEFAULT_DISCOVER_SUBJECT =
"_STAN.discover".freeze
- DEFAULT_ACK_WAIT =
Ack timeout in seconds
30
- DEFAULT_MAX_INFLIGHT =
Max number of inflight acks from received messages
1024
- DEFAULT_CONNECT_TIMEOUT =
Connect timeout in seconds
2
- DEFAULT_MAX_PUB_ACKS_INFLIGHT =
Max number of inflight pub acks
16384
- VERSION =
'0.2.2'
Class Method Summary collapse
Class Method Details
.create_guid ⇒ Object
585 586 587 |
# File 'lib/stan/client.rb', line 585 def create_guid SecureRandom.hex(11) end |
.create_inbox ⇒ Object
589 590 591 |
# File 'lib/stan/client.rb', line 589 def create_inbox SecureRandom.hex(13) end |