org.objectweb.joram.shared.admin

Class SetDefaultDMQ

Implemented Interfaces:
java.io.Serializable

public class SetDefaultDMQ
extends AdminRequest

A SetDefaultDMQ instance requests to set a given DMQ as the default DMQ for a given server.

See Also:
Serialized Form

Constructor Summary

SetDefaultDMQ(int serverId, String dmqId)
Constructs a SetDefaultDMQ instance.

Method Summary

String
getDmqId()
Returns the identifier of the DMQ.
int
getServerId()
Returns the identifier of the server the DMQ is set for.

Constructor Details

SetDefaultDMQ

public SetDefaultDMQ(int serverId,
                     String dmqId)
Constructs a SetDefaultDMQ instance.

Parameters:
serverId - Identifier of the server the DMQ is set for.
dmqId - Identifier of the DMQ.

Method Details

getDmqId

public String getDmqId()
Returns the identifier of the DMQ.


getServerId

public int getServerId()
Returns the identifier of the server the DMQ is set for.


Copyright B) 2004 Scalagent - All rights reserved