Line | |
---|
1 | package geniusweb.protocol.partyconnection;
|
---|
2 |
|
---|
3 | import geniusweb.actions.Action;
|
---|
4 | import geniusweb.actions.PartyId;
|
---|
5 | import geniusweb.connection.Connection;
|
---|
6 | import geniusweb.party.inform.Inform;
|
---|
7 |
|
---|
8 | /**
|
---|
9 | * Connection of the protocol with a party. Note, this is the opposite direction
|
---|
10 | * of a connection of the party with the protocol.
|
---|
11 | */
|
---|
12 | public interface ConnectionWithParty extends Connection<Action, Inform> {
|
---|
13 |
|
---|
14 | /**
|
---|
15 | *
|
---|
16 | * @return the partyId of the party that this connects to
|
---|
17 | */
|
---|
18 | PartyId getParty();
|
---|
19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.