public PaymentChannelServerState(TransactionBroadcaster broadcaster,Wallet wallet,ECKey serverKey,long minExpireTime){
  this.state=State.WAITING_FOR_REFUND_TRANSACTION;
  this.serverKey=checkNotNull(serverKey);
  this.wallet=checkNotNull(wallet);
  this.broadcaster=checkNotNull(broadcaster);
  this.minExpireTime=minExpireTime;
}

public PaymentChannelServerState ( TransactionBroadcaster broadcaster , Wallet wallet , ECKey serverKey , long minExpireTime ) { this . state = State . WAITING_FOR_REFUND_TRANSACTION ; this . serverKey = checkNotNull ( serverKey ) ; this . wallet = checkNotNull ( wallet ) ; this . broadcaster = checkNotNull ( broadcaster ) ; this . minExpireTime = minExpireTime ; }
creates a new state object to track the server side of a payment channel .
