在NodeComponent里增加getRequestData和getChainName两个包装方法
This commit is contained in:
parent
148df214b1
commit
e2e3ef7c38
|
@ -273,4 +273,12 @@ public abstract class NodeComponent{
|
|||
public void setMonitorBus(MonitorBus monitorBus) {
|
||||
this.monitorBus = monitorBus;
|
||||
}
|
||||
|
||||
public <T> T getRequestData(){
|
||||
return getSlot().getRequestData();
|
||||
}
|
||||
|
||||
public String getChainName(){
|
||||
return getSlot().getChainName();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue