abstract val counterparty: Party
If the destination on the other side of this session is a Party then returns that, otherwise throws IllegalStateException.
Only use this method if it's known the other side is a Party, otherwise use destination.
IllegalStateException
- if the other side is not a Party.
See Also