类 GatewayContract
java.lang.Object
org.dromara.northstar.gateway.contract.GatewayContract
- 所有已实现的接口:
Subscribable,TickDataAware,IContract,Instrument
网关合约
- 作者:
- KevinHuangwl
-
构造器概要
构造器 -
方法概要
从接口继承的方法 org.dromara.northstar.gateway.IContract
memberContracts从接口继承的方法 org.dromara.northstar.gateway.Instrument
setContractDefinition
-
构造器详细资料
-
GatewayContract
-
-
方法详细资料
-
dataSource
从接口复制的说明:Instrument数据源- 指定者:
dataSource在接口中Instrument- 返回:
-
subscribe
public boolean subscribe()从接口复制的说明:Subscribable订阅- 指定者:
subscribe在接口中Subscribable- 返回:
-
unsubscribe
public boolean unsubscribe()从接口复制的说明:Subscribable取消订阅- 指定者:
unsubscribe在接口中Subscribable- 返回:
-
onTick
- 指定者:
onTick在接口中TickDataAware
-
contract
从接口复制的说明:Instrument转换为合约信息- 指定者:
contract在接口中Instrument- 返回:
-
name
从接口复制的说明:Instrument名称- 指定者:
name在接口中Instrument- 返回:
-
identifier
从接口复制的说明:Instrument唯一标识- 指定者:
identifier在接口中Instrument- 返回:
-
productClass
从接口复制的说明:Instrument种类- 指定者:
productClass在接口中Instrument- 返回:
-
exchange
从接口复制的说明:Instrument交易所- 指定者:
exchange在接口中Instrument- 返回:
-
gatewayId
从接口复制的说明:IContract网关ID -
channelType
从接口复制的说明:Instrument网关渠道类型- 指定者:
channelType在接口中Instrument- 返回:
-
hashCode
public int hashCode() -
equals
-