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

org.asteriskjava.pbx.asterisk.wrap.actions.SipShowPeerAction Maven / Gradle / Ivy

There is a newer version: 3.41.0
Show newest version
package org.asteriskjava.pbx.asterisk.wrap.actions;

import org.asteriskjava.manager.action.ManagerAction;
import org.asteriskjava.pbx.EndPoint;

public class SipShowPeerAction extends AbstractManagerAction
{

	private final EndPoint _peer;

	public SipShowPeerAction(final EndPoint peer)
	{
		this._peer = peer;
	}

	@Override
	public ManagerAction getAJAction()
	{
		final org.asteriskjava.manager.action.SipShowPeerAction action = new org.asteriskjava.manager.action.SipShowPeerAction();
		action.setActionId(this.getActionId());
		action.setPeer(this._peer.getSimpleName());
		return action;
	}

	public String toString()
	{
		return "SipShowPeerAction: peer=" + this._peer; //$NON-NLS-1$
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy