All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmlens.trace.agent.bootstrap.event.WhileLoopNameEvent Maven / Gradle / Ivy

There is a newer version: 1.1.5
Show newest version
package com.vmlens.trace.agent.bootstrap.event;

import java.io.DataOutputStream;

import com.vmlens.trace.agent.bootstrap.util.Constants;

public class WhileLoopNameEvent implements StaticEvent {

	private final int loopId;
	private final String name;
	
	
	
	
	public WhileLoopNameEvent(int loopId, String name) {
		super();
		this.loopId = loopId;
		this.name = name;
	}




	@Override
	public void serialize(StreamRepository streamRepository) throws Exception {
		DataOutputStream stream = streamRepository.threadName.getStream();
		stream.writeInt(Constants.TYPE_WHILE_LOOP_NAME_EVENT);
		stream.writeInt(loopId);
		stream.writeUTF(name);
		
	}
	
	

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy