Port returns the TCP port number the broker is listening for requests on.
()
| 135 | |
| 136 | // Port returns the TCP port number the broker is listening for requests on. |
| 137 | func (b *MockBroker) Port() int32 { |
| 138 | return b.port |
| 139 | } |
| 140 | |
| 141 | // Addr returns the broker connection string in the form "<address>:<port>". |
| 142 | func (b *MockBroker) Addr() string { |
no outgoing calls