Class IpResourceSubscriptionEvent
java.lang.Object
ru.bitel.bgbilling.kernel.event.common.Event
ru.bitel.bgbilling.kernel.event.common.PoolEvent
ru.bitel.oss.systems.inventory.resource.common.event.IpResourceSubscriptionEvent
- All Implemented Interfaces:
Serializable
public class IpResourceSubscriptionEvent
extends ru.bitel.bgbilling.kernel.event.common.PoolEvent
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final short
static final short
Fields inherited from class ru.bitel.bgbilling.kernel.event.common.Event
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN
-
Constructor Summary
ModifierConstructorDescriptionprotected
IpResourceSubscriptionEvent
(short type, int moduleId, int subscriberType, int subscriberId, String subscriberTitle, int ipResourceId, long subscriptionId, byte[] addressFrom, byte[] addressTo, Date timeFrom, Date timeTo, boolean dynamic) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
byte[]
int
int
long
short
getType()
boolean
void
setAddressFrom
(byte[] addressFrom) void
setAddressTo
(byte[] addressTo) Methods inherited from class ru.bitel.bgbilling.kernel.event.common.Event
getContractId, getDestination, getGenerateTime, getMessageID, getModuleId, getPluginId, getSource, getSuperContractId, getTime, getTimestamp, getTypeId, getUserId, isLogFunctionProcess, prepareMessage, serializeAsObject, setLogFunctionProcess, setMessageID, setSource, toString, toString
-
Field Details
-
TYPE_SUBSCRIBED
public static final short TYPE_SUBSCRIBED- See Also:
-
TYPE_UNSUBSCRIBED
public static final short TYPE_UNSUBSCRIBED- See Also:
-
-
Constructor Details
-
IpResourceSubscriptionEvent
protected IpResourceSubscriptionEvent() -
IpResourceSubscriptionEvent
-
-
Method Details
-
getType
public short getType() -
getSubscriptionId
public long getSubscriptionId() -
getAddressFrom
public byte[] getAddressFrom() -
setAddressFrom
public void setAddressFrom(byte[] addressFrom) -
getAddressTo
public byte[] getAddressTo() -
setAddressTo
public void setAddressTo(byte[] addressTo) -
getTimeTo
-
getSubscriberType
public int getSubscriberType() -
getSubscriberTitle
-
getIpResourceId
public int getIpResourceId() -
getTimeFrom
-
isDynamic
public boolean isDynamic()
-