|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use StoredServerChannel | |
|---|---|
| com.google.bitcoin.protocols.channels | |
| Uses of StoredServerChannel in com.google.bitcoin.protocols.channels |
|---|
| Methods in com.google.bitcoin.protocols.channels that return StoredServerChannel | |
|---|---|
StoredServerChannel |
StoredPaymentChannelServerStates.getChannel(Sha256Hash id)
Gets the StoredServerChannel with the given channel id (ie contract transaction hash). |
| Methods in com.google.bitcoin.protocols.channels with parameters of type StoredServerChannel | |
|---|---|
void |
StoredPaymentChannelServerStates.closeChannel(StoredServerChannel channel)
Closes the given channel using ServerConnectionEventHandler.closeChannel() and
PaymentChannelServerState.close() to notify any connected client of channel closure and to complete and
broadcast the latest payment transaction. |
void |
StoredPaymentChannelServerStates.putChannel(StoredServerChannel channel)
Puts the given channel in the channels map and automatically closes it 2 hours before its refund transaction becomes spendable. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||