mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-11-16 16:30:09 +00:00
Mark all MessageTypes as final
This commit is contained in:
parent
e836009dbb
commit
17546d4f24
@ -24,7 +24,7 @@
|
|||||||
/**
|
/**
|
||||||
* AttachmentMessageType represents a message with an attached file.
|
* AttachmentMessageType represents a message with an attached file.
|
||||||
*/
|
*/
|
||||||
class AttachmentMessageType implements IMessageType, IDeletableMessageType
|
final class AttachmentMessageType implements IMessageType, IDeletableMessageType
|
||||||
{
|
{
|
||||||
use TCanSeeInSameRoom;
|
use TCanSeeInSameRoom;
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
/**
|
/**
|
||||||
* AwayMessageType represents a notice that a user now is away from chat.
|
* AwayMessageType represents a notice that a user now is away from chat.
|
||||||
*/
|
*/
|
||||||
class AwayMessageType implements IMessageType
|
final class AwayMessageType implements IMessageType
|
||||||
{
|
{
|
||||||
use TDefaultPayload;
|
use TDefaultPayload;
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
/**
|
/**
|
||||||
* BackMessageType represents a notice that a user now is now back.
|
* BackMessageType represents a notice that a user now is now back.
|
||||||
*/
|
*/
|
||||||
class BackMessageType implements IMessageType
|
final class BackMessageType implements IMessageType
|
||||||
{
|
{
|
||||||
use TDefaultPayload;
|
use TDefaultPayload;
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
/**
|
/**
|
||||||
* BroadcastMessageType represents a broadcasted message.
|
* BroadcastMessageType represents a broadcasted message.
|
||||||
*/
|
*/
|
||||||
class BroadcastMessageType implements IMessageType, IDeletableMessageType
|
final class BroadcastMessageType implements IMessageType, IDeletableMessageType
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var PlainMessageType
|
* @var PlainMessageType
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
/**
|
/**
|
||||||
* ChatUpdateMessageType informs the chat about a back end update.
|
* ChatUpdateMessageType informs the chat about a back end update.
|
||||||
*/
|
*/
|
||||||
class ChatUpdateMessageType implements IMessageType
|
final class ChatUpdateMessageType implements IMessageType
|
||||||
{
|
{
|
||||||
use TDefaultPayload;
|
use TDefaultPayload;
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
/**
|
/**
|
||||||
* ColorMessageType represents a color message.
|
* ColorMessageType represents a color message.
|
||||||
*/
|
*/
|
||||||
class ColorMessageType implements IMessageType
|
final class ColorMessageType implements IMessageType
|
||||||
{
|
{
|
||||||
use TDefaultPayload;
|
use TDefaultPayload;
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
/**
|
/**
|
||||||
* InfoMessageType represents the reply to InfoCommand.
|
* InfoMessageType represents the reply to InfoCommand.
|
||||||
*/
|
*/
|
||||||
class InfoMessageType implements IMessageType
|
final class InfoMessageType implements IMessageType
|
||||||
{
|
{
|
||||||
use TCanSeeCreator;
|
use TCanSeeCreator;
|
||||||
use TDefaultPayload;
|
use TDefaultPayload;
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
/**
|
/**
|
||||||
* JoinMessageType represents a join message.
|
* JoinMessageType represents a join message.
|
||||||
*/
|
*/
|
||||||
class JoinMessageType implements IMessageType
|
final class JoinMessageType implements IMessageType
|
||||||
{
|
{
|
||||||
use TCanSeeInSameRoom;
|
use TCanSeeInSameRoom;
|
||||||
use TDefaultPayload;
|
use TDefaultPayload;
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
/**
|
/**
|
||||||
* LeaveMessageType represents a leave message.
|
* LeaveMessageType represents a leave message.
|
||||||
*/
|
*/
|
||||||
class LeaveMessageType implements IMessageType
|
final class LeaveMessageType implements IMessageType
|
||||||
{
|
{
|
||||||
use TCanSeeInSameRoom;
|
use TCanSeeInSameRoom;
|
||||||
use TDefaultPayload;
|
use TDefaultPayload;
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
/**
|
/**
|
||||||
* MeMessageType represents an action message.
|
* MeMessageType represents an action message.
|
||||||
*/
|
*/
|
||||||
class MeMessageType implements IMessageType, IDeletableMessageType
|
final class MeMessageType implements IMessageType, IDeletableMessageType
|
||||||
{
|
{
|
||||||
use TCanSeeInSameRoom;
|
use TCanSeeInSameRoom;
|
||||||
use TDefaultPayload;
|
use TDefaultPayload;
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
/**
|
/**
|
||||||
* PlainMessageType represents a normal message.
|
* PlainMessageType represents a normal message.
|
||||||
*/
|
*/
|
||||||
class PlainMessageType implements IMessageType, IDeletableMessageType
|
final class PlainMessageType implements IMessageType, IDeletableMessageType
|
||||||
{
|
{
|
||||||
use TCanSeeInSameRoom;
|
use TCanSeeInSameRoom;
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
/**
|
/**
|
||||||
* SuspendMessageType informs about suspensions.
|
* SuspendMessageType informs about suspensions.
|
||||||
*/
|
*/
|
||||||
class SuspendMessageType implements IMessageType
|
final class SuspendMessageType implements IMessageType
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
/**
|
/**
|
||||||
* TeamMessageType represents a team internal message.
|
* TeamMessageType represents a team internal message.
|
||||||
*/
|
*/
|
||||||
class TeamMessageType implements IMessageType, IDeletableMessageType
|
final class TeamMessageType implements IMessageType, IDeletableMessageType
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var PlainMessageType
|
* @var PlainMessageType
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
/**
|
/**
|
||||||
* TemproomCreatedMessageType informs a user that a temporary room was created.
|
* TemproomCreatedMessageType informs a user that a temporary room was created.
|
||||||
*/
|
*/
|
||||||
class TemproomCreatedMessageType implements IMessageType
|
final class TemproomCreatedMessageType implements IMessageType
|
||||||
{
|
{
|
||||||
use TCanSeeCreator;
|
use TCanSeeCreator;
|
||||||
use TDefaultPayload;
|
use TDefaultPayload;
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
/**
|
/**
|
||||||
* TemproomInvitedMessageType informs a user that they were invited to a temporary room.
|
* TemproomInvitedMessageType informs a user that they were invited to a temporary room.
|
||||||
*/
|
*/
|
||||||
class TemproomInvitedMessageType implements IMessageType
|
final class TemproomInvitedMessageType implements IMessageType
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
/**
|
/**
|
||||||
* TombstoneMessageType marks a different message as dead.
|
* TombstoneMessageType marks a different message as dead.
|
||||||
*/
|
*/
|
||||||
class TombstoneMessageType implements IMessageType
|
final class TombstoneMessageType implements IMessageType
|
||||||
{
|
{
|
||||||
use TDefaultPayload;
|
use TDefaultPayload;
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
/**
|
/**
|
||||||
* UnsuspendMessageType informs about removed suspensions.
|
* UnsuspendMessageType informs about removed suspensions.
|
||||||
*/
|
*/
|
||||||
class UnsuspendMessageType implements IMessageType
|
final class UnsuspendMessageType implements IMessageType
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
/**
|
/**
|
||||||
* WhereMessageType represents the reply to WhereCommand.
|
* WhereMessageType represents the reply to WhereCommand.
|
||||||
*/
|
*/
|
||||||
class WhereMessageType implements IMessageType
|
final class WhereMessageType implements IMessageType
|
||||||
{
|
{
|
||||||
use TCanSeeCreator;
|
use TCanSeeCreator;
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
/**
|
/**
|
||||||
* WhisperMessageType represents a whispered message.
|
* WhisperMessageType represents a whispered message.
|
||||||
*/
|
*/
|
||||||
class WhisperMessageType implements IMessageType
|
final class WhisperMessageType implements IMessageType
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* HtmlOutputProcessor to use.
|
* HtmlOutputProcessor to use.
|
||||||
|
Loading…
Reference in New Issue
Block a user