类 PrimaryContract
java.lang.Object
org.dromara.northstar.gateway.contract.PrimaryContract
- 所有已实现的接口:
Subscribable,Contract,Instrument
主力合约
- 作者:
- KevinHuangwl
-
构造器概要
构造器 -
方法概要
从接口继承的方法 org.dromara.northstar.gateway.Contract
memberContracts, tradable从接口继承的方法 org.dromara.northstar.gateway.Instrument
setContractDefinition
-
构造器详细资料
-
PrimaryContract
-
-
方法详细资料
-
subscribe
public boolean subscribe()从接口复制的说明:Subscribable订阅- 指定者:
subscribe在接口中Subscribable- 返回:
-
unsubscribe
public boolean unsubscribe()从接口复制的说明:Subscribable取消订阅- 指定者:
unsubscribe在接口中Subscribable- 返回:
-
name
从接口复制的说明:Instrument名称- 指定者:
name在接口中Instrument- 返回:
-
identifier
从接口复制的说明:Instrument唯一标识- 指定者:
identifier在接口中Instrument- 返回:
-
productClass
从接口复制的说明:Instrument种类- 指定者:
productClass在接口中Instrument- 返回:
-
exchange
从接口复制的说明:Instrument交易所- 指定者:
exchange在接口中Instrument- 返回:
-
tradeTimeDefinition
从接口复制的说明:Instrument开市时间定义- 指定者:
tradeTimeDefinition在接口中Instrument- 返回:
-
channelType
从接口复制的说明:Instrument网关渠道类型- 指定者:
channelType在接口中Instrument- 返回:
-
gatewayId
从接口复制的说明:Contract网关ID -
contractField
从接口复制的说明:Contract获取合约信息- 指定者:
contractField在接口中Contract- 指定者:
contractField在接口中Instrument- 返回:
-
hashCode
public int hashCode() -
equals
-