Last change
on this file was 100, checked in by ruud, 22 months ago |
python installs also wheel to avoid error messages
|
File size:
555 bytes
|
Rev | Line | |
---|
[100] | 1 | from abc import ABC, abstractmethod
|
---|
| 2 |
|
---|
| 3 | from geniusweb.actions.Action import Action
|
---|
| 4 | from geniusweb.actions.PartyId import PartyId
|
---|
| 5 | from geniusweb.connection.ConnectionEnd import ConnectionEnd
|
---|
| 6 | from geniusweb.inform.Inform import Inform
|
---|
| 7 |
|
---|
| 8 |
|
---|
| 9 | class ProtocolToPartyConn (ConnectionEnd[Action, Inform], ABC):
|
---|
| 10 | '''
|
---|
| 11 | Connection of the protocol with a party. Note, this is the opposite direction
|
---|
| 12 | of a connection of the party with the protocol.
|
---|
| 13 | '''
|
---|
| 14 |
|
---|
| 15 | @abstractmethod
|
---|
| 16 | def getParty(self)-> PartyId :
|
---|
| 17 | '''
|
---|
| 18 | @return the partyId of the party that this connects to.
|
---|
| 19 | '''
|
---|
Note:
See
TracBrowser
for help on using the repository browser.