Fix协议介绍21-party信息查询(PartyEntitlementsRequest )

FIX.5.0SP2_EP168 Message

PartyEntitlementsRequest [type 'CU']

<PtyEntlmntReq>

The PartyEntitlementsRequest message is used to request for entitlement information for one or more party(-ies), specific party role(s), or specific instruments(s).


Added  FIX.5.0SP2  EP129

Expand Components | Collapse Components

  Field or Component Field Name FIXML name Req'd Comments Depr.
Component StandardHeader BaseHeader

MsgType=CU

 
1770 EntitlementRequestID @ReqID      
263 SubscriptionRequestType @SubReqTyp      
Component RequestingPartyGrp ReqPty  

May be used to identify the party making the request and their role.

 
Component Parties Pty  

Scope of the query/request for specific party(-ies).

 
Component RequestedPartyRoleGrp ReqR  

Scope of the query/request for specific party roles. For example, "all information for PartyRole=24".

 
1784 EntitlementPlatform @Pltfm      
Component InstrumentScopeGrp InstrmtScope  

Scope of the query/request for specific securities.

 
58 Text @Txt      
354 EncodedTextLen @EncTxtLen      
355 EncodedText @EncTxt      

Component StandardTrailer  


消息实现:

package cs.mina.codec.msg;

import java.util.List;

/*
 *@author(huangxiaoping)
 *@date 2013-12-2
 */
public class PartyEntitlementRequest extends BaseMsg {
	private Tag entitlementsRequestID = new Tag("1770", "String", true);

	public PartyEntitlementRequest() {
		this.getHeadEntity().getMsgType().setTagValue("CU");
		this.bodyEntity.getBodyTagList().add(entitlementsRequestID);
	}

	@Override
	public void decodeBody() {

	}

	@Override
	public void validate() {
		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 getEntitlementsRequestID() {
		return entitlementsRequestID;
	}

	public void setEntitlementsRequestID(Tag entitlementsRequestID) {
		this.entitlementsRequestID = entitlementsRequestID;
	}

}

消息处理:略


你可能感兴趣的:(Fix协议介绍21-party信息查询(PartyEntitlementsRequest ))