StringToProxy sets the servant of ProxyPrx p with a string servant
(servant string, p ProxyPrx, opts ...EndpointManagerOption)
| 91 | |
| 92 | // StringToProxy sets the servant of ProxyPrx p with a string servant |
| 93 | func (c *Communicator) StringToProxy(servant string, p ProxyPrx, opts ...EndpointManagerOption) { |
| 94 | if servant == "" { |
| 95 | panic("empty servant") |
| 96 | } |
| 97 | sp := NewServantProxy(c, servant, opts...) |
| 98 | p.SetServant(sp) |
| 99 | } |
| 100 | |
| 101 | // SetProperty sets communicator property with a string key and an interface value. |
| 102 | // var comm *tars.Communicator |