1 19 20 package org.apache.james.imapserver.client; 21 22 import java.io.IOException ; 23 import java.util.LinkedList ; 24 import java.util.List ; 25 26 import javax.mail.MessagingException ; 27 28 public abstract class AbstractCommand implements Command { 29 30 protected List responseList = new LinkedList (); 31 protected String statusResponse = null; 32 protected String command = null; 33 34 public List getExpectedResponseList() throws MessagingException , IOException { 35 return responseList ; 36 } 37 38 public String getExpectedStatusResponse() { 39 return statusResponse; 40 } 41 42 public String getCommand() { 43 return command; 44 } 45 46 } 47 | Popular Tags |