01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.net.protocol.transport;
05:
06: public class NullConnectionPolicy implements ConnectionPolicy {
07:
08: public void clientConnected() {
09: return;
10: }
11:
12: public void clientDisconnected() {
13: return;
14: }
15:
16: public boolean maxConnectionsExceeded() {
17: return false;
18: }
19:
20: public int getMaxConnections() {
21: return -1;
22: }
23:
24: public void setMaxConnections(int i) {
25: return;
26: }
27:
28: }
|