fix协议介绍3-登出消息

时间:2023-01-01 15:00:40


课程内容:各种k8s部署方式。包括minikube部署,kubeadm部署,kubeasz部署,rancher部署,k3s部署。包括开发测试环境部署k8s,和生产环境部署k8s。



介绍主要的k8s资源的使用配置和命令。包括configmap,pod,service,replicaset,namespace,deployment,daemonset,ingress,pv,pvc,sc,role,rolebinding,clusterrole,clusterrolebinding,secret,serviceaccount,statefulset,job,cronjob,podDisruptionbudget,podSecurityPolicy,networkPolicy,resourceQuota,limitrange,endpoint,event,conponentstatus,node,apiservice,controllerRevision等。


详细介绍helm命令,学习helm chart语法,编写helm chart。深入分析各项目源码,学习编写helm插件

————————————————

FIX.5.0SP2_EP168 Message

Logout [type '5']

 

The logout message initiates or confirms the termination of a FIX session. Disconnection without the exchange of logout messages should be interpreted as an abnormal condition.

Added  FIX.2.7

Expand Components | Collapse Components

 

Field or Component

Field Name

FIXML name

Req'd

Comments

Depr.

fix协议介绍3-登出消息

转存失败重新上传取消

Component

StandardHeader

BaseHeader

fix协议介绍3-登出消息

转存失败重新上传取消

MsgType = 5

 



fix协议介绍3-登出消息

转存失败重新上传取消

​1409​

​SessionStatus​

@SessStat

 

Session status at time of logout.

 

fix协议介绍3-登出消息

转存失败重新上传取消

​58​

​Text​

@Txt

 

 

 

fix协议介绍3-登出消息

转存失败重新上传取消

​354​

​EncodedTextLen​

@EncTxtLen

 

Must be set if EncodedText field is specified and must immediately precede it.

 

fix协议介绍3-登出消息

转存失败重新上传取消

​355​

​EncodedText​

@EncTxt

 

Encoded (non-ASCII characters) representation of the Text field in the encoded format specified via the MessageEncoding field.

 


fix协议介绍3-登出消息

转存失败重新上传取消

Component

StandardTrailer

 


fix协议介绍3-登出消息

转存失败重新上传取消

 

 

 

封装例子:

 

 

package cs.mina.codec.msg;

import java.util.HashSet;
import java.util.List;
import java.util.Set;

/*
*@author(huangxiaoping)
*@date 2013-11-25
*/
public class LogoutMsg extends BaseMsg {
private Tag text=new Tag("58","String",false);
private Tag encodedTextLen=new Tag("354","Length",false);
private Tag encodedText=new Tag("355","data",false);
private Set<String> tagIdsSet=new HashSet<String>();

public LogoutMsg(){
tagIdsSet.add("58");
tagIdsSet.add("354");
tagIdsSet.add("355");
this.bodyEntity.getBodyTagList().add(text);
this.bodyEntity.getBodyTagList().add(encodedTextLen);
this.bodyEntity.getBodyTagList().add(encodedText);
}
@Override
public void decodeBody() {

}

@Override
public void validate() {
if(encodedText.getTagValue()!=null){
encodedTextLen.setMust(true);
}
this.headEntity.validate();
List<Tag> bodyTagList=this.bodyEntity.getBodyTagList();
for(int i=0;i<bodyTagList.size();i++){
bodyTagList.get(i).validate();
}
this.tailerEntity.validate();
}

public Tag getText() {
return text;
}

public void setText(Tag text) {
this.text = text;
}

public Tag getEncodedTextLen() {
return encodedTextLen;
}

public void setEncodedTextLen(Tag encodedTextLen) {
this.encodedTextLen = encodedTextLen;
}

public Tag getEncodedText() {
return encodedText;
}

public void setEncodedText(Tag encodedText) {
this.encodedText = encodedText;
}

public Set<String> getTagIdsSet() {
return tagIdsSet;
}

public void setTagIdsSet(Set<String> tagIdsSet) {
this.tagIdsSet = tagIdsSet;
}

}

处理逻辑:略