當前位置: 首頁>>代碼示例>>Java>>正文


Java PccReqId類代碼示例

本文整理匯總了Java中es.tid.pce.pcep.objects.PccReqId的典型用法代碼示例。如果您正苦於以下問題:Java PccReqId類的具體用法?Java PccReqId怎麽用?Java PccReqId使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


PccReqId類屬於es.tid.pce.pcep.objects包,在下文中一共展示了PccReqId類的10個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: createRequestMessage

import es.tid.pce.pcep.objects.PccReqId; //導入依賴的package包/類
/**
 * Create a PC Request message including Monitoring, PCC-Id-Req and Request
 * @param i index of the request  
 * @return
 */
PCEPRequest createRequestMessage(int i){
	PCEPRequest p_r = new PCEPRequest();
	//Creamos el objecto monitoring
	Monitoring monitoring=createMonitoring();
	//Creamos el objeto PCCIdReq
	PccReqId pccReqId = createPccReqId();
	//Creamos el object Request 
	Request req = createRequest(source.get(i),destination.get(i));		
	ObjectiveFunction of=new ObjectiveFunction();
	of.setOFcode(algorithmRuleList.get(0).ar.of);
	req.setObjectiveFunction(of);
	p_r.setMonitoring(monitoring);
	p_r.setPccReqId(pccReqId);
	p_r.addRequest(req);
	return p_r;
}
 
開發者ID:telefonicaid,項目名稱:netphony-gmpls-emulator,代碼行數:22,代碼來源:AutomaticTesterSpainNetworkTask.java

示例2: createMonRequestMessage

import es.tid.pce.pcep.objects.PccReqId; //導入依賴的package包/類
/**
 * Create a PC Monitoring Request message including Monitoring, PCC-Id-Req
 * @param i index of the request  
 * @return
 */
PCEPMonReq createMonRequestMessage(int i){
	PCEPMonReq p_m_r = new PCEPMonReq();
	//Creamos el objecto monitoring
	Monitoring monitoring=createMonitoring();
	//Creamos el objeto PCCIdReq
	PccReqId pccReqId = createPccReqId();
	p_m_r.setMonitoring(monitoring);
	p_m_r.setPccReqId(pccReqId);
	return p_m_r;
}
 
開發者ID:telefonicaid,項目名稱:netphony-gmpls-emulator,代碼行數:16,代碼來源:AutomaticTesterSpainNetworkTask.java

示例3: createPccReqId

import es.tid.pce.pcep.objects.PccReqId; //導入依賴的package包/類
public PccReqId createPccReqId(){
	PccReqId p_r_i = new PccReqId();
	//Add PCC Ip Address
	if (ps != null){
	if (ps.getSocket()!=null)
		p_r_i.setPCCIpAddress((Inet4Address)ps.getSocket().getInetAddress());
	else
		System.out.println("El Socket es null!!");
	}
	else
		System.out.println("ps es null!!");
	return p_r_i;
	
}
 
開發者ID:telefonicaid,項目名稱:netphony-gmpls-emulator,代碼行數:15,代碼來源:AutomaticTesterSpainNetworkTask.java

示例4: PCEPMonRep

import es.tid.pce.pcep.objects.PccReqId; //導入依賴的package包/類
/**
 * Construct new PCEP PCMonReq
 */
public PCEPMonRep () {
	super();
	this.setMessageType(PCEPMessageTypes.MESSAGE_PCMONREP);
	monitoring=new Monitoring();
	pccReqId=new PccReqId();
}
 
開發者ID:telefonicaid,項目名稱:netphony-network-protocols,代碼行數:10,代碼來源:PCEPMonRep.java

示例5: getPccIdreq

import es.tid.pce.pcep.objects.PccReqId; //導入依賴的package包/類
public PccReqId getPccIdreq() {
	return pccIdreq;
}
 
開發者ID:telefonicaid,項目名稱:netphony-network-protocols,代碼行數:4,代碼來源:Response.java

示例6: setPccIdreq

import es.tid.pce.pcep.objects.PccReqId; //導入依賴的package包/類
public void setPccIdreq(PccReqId pccIdreq) {
	this.pccIdreq = pccIdreq;
}
 
開發者ID:telefonicaid,項目名稱:netphony-network-protocols,代碼行數:4,代碼來源:Response.java

示例7: getPccReqId

import es.tid.pce.pcep.objects.PccReqId; //導入依賴的package包/類
public PccReqId getPccReqId() {
	return pccReqId;
}
 
開發者ID:telefonicaid,項目名稱:netphony-network-protocols,代碼行數:4,代碼來源:PCEPMonRep.java

示例8: setPccReqId

import es.tid.pce.pcep.objects.PccReqId; //導入依賴的package包/類
public void setPccReqId(PccReqId pccReqId) {
	this.pccReqId = pccReqId;
}
 
開發者ID:telefonicaid,項目名稱:netphony-network-protocols,代碼行數:4,代碼來源:PCEPMonRep.java

示例9: getPccReqId

import es.tid.pce.pcep.objects.PccReqId; //導入依賴的package包/類
public PccReqId getPccReqId()
{
	return pccReqId;
}
 
開發者ID:telefonicaid,項目名稱:netphony-pce,代碼行數:5,代碼來源:ComputingRequest.java

示例10: setPccReqId

import es.tid.pce.pcep.objects.PccReqId; //導入依賴的package包/類
public void setPccReqId(PccReqId pccReqId)
{
	this.pccReqId = pccReqId;
}
 
開發者ID:telefonicaid,項目名稱:netphony-pce,代碼行數:5,代碼來源:ComputingRequest.java


注:本文中的es.tid.pce.pcep.objects.PccReqId類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。