当前位置: 首页>>代码示例>>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;未经允许,请勿转载。