From c2a5e8966b5b3029a0a47a4e25d86d0fc42a67cc Mon Sep 17 00:00:00 2001 From: Eric Lundberg Date: Fri, 18 Jul 2003 01:54:51 +0000 Subject: [PATCH] Initial checkin of ye ole' pluggable interface for authorizing player communication. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2714 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../chat/server/CommunicationAuthorizer.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/java/com/threerings/crowd/chat/server/CommunicationAuthorizer.java diff --git a/src/java/com/threerings/crowd/chat/server/CommunicationAuthorizer.java b/src/java/com/threerings/crowd/chat/server/CommunicationAuthorizer.java new file mode 100644 index 000000000..7db848c5f --- /dev/null +++ b/src/java/com/threerings/crowd/chat/server/CommunicationAuthorizer.java @@ -0,0 +1,15 @@ +// +// $Id: CommunicationAuthorizer.java,v 1.1 2003/07/18 01:54:51 eric Exp $ + +package com.threerings.crowd.chat.server; + +import com.threerings.presents.data.ClientObject; + +/** + * An interface used to check and see if the specified client is allowed + * to make said communication. + */ +public interface CommunicationAuthorizer +{ + public boolean authorized (ClientObject caller); +}