Go to the source code of this file.
Variables | |
module | ignore |
import mango cache | HashMap |
import mango cache model | ICache |
import mango cache model | IPayload |
import mango cache | Payload |
import mango cache | PlainCache |
import mango cache | QueuedCache |
import mango cache | VirtualCache |
import mango cluster | CacheInvalidatee |
import mango cluster | CacheInvalidator |
import mango cluster | Client |
import mango cluster | Message |
import mango cluster model | IChannel |
import mango cluster model | ICluster |
import mango cluster model | IConsumer |
import mango cluster model | IEvent |
import mango cluster model | IMessage |
import mango cluster | NetworkAlert |
import mango cluster | NetworkCache |
import mango cluster | NetworkQueue |
import mango cluster qos socket | Cluster |
import mango cluster qos socket | ClusterCache |
import mango cluster qos socket | ClusterEvent |
import mango cluster qos socket | ClusterServer |
import mango cluster qos socket | ClusterThread |
import mango cluster qos socket | ProtocolReader |
import mango cluster qos socket | ProtocolWriter |
import mango cluster qos socket | RollCall |
import mango cluster | TaskServer |
import mango convert | DGDouble |
import mango convert | Double |
import mango convert | Format |
import mango convert | Integer |
import mango convert | Rfc1123 |
import mango convert | Atoi |
import mango convert | Type |
import mango convert | Unicode |
import mango convert | Sprint |
import mango convert | UnicodeBom |
import mango http client | HttpClient |
import mango http | HttpReader |
import mango http | HttpWriter |
import mango http server | HttpBridge |
import mango http server | HttpCookies |
import mango http server | HttpHeaders |
import mango http server | HttpMessage |
import mango http server | HttpParams |
import mango http server | HttpProvider |
import mango http server | HttpQueryParams |
import mango http server | HttpRequest |
import mango http server | HttpResponse |
import mango http server | HttpServer |
import mango http server | HttpThread |
import mango http server | HttpTokens |
import mango http server model | IProvider |
import mango http server model | IProviderBridge |
import mango http utils | Dictionary |
import mango http utils | TokenStack |
import mango icu | ICU |
import mango icu | UBreakIterator |
import mango icu | UCalendar |
import mango icu | UChar |
import mango icu | UCollator |
import mango icu | UConverter |
import mango icu | UDateFormat |
import mango icu | UDomainName |
import mango icu | UEnumeration |
import mango icu | ULocale |
import mango icu | UMango |
import mango icu | UMessageFormat |
import mango icu | UNormalize |
import mango icu | UNumberFormat |
import mango icu | URegex |
import mango icu | UResourceBundle |
import mango icu | USearch |
import mango icu | USet |
import mango icu | UString |
import mango icu | UStringPrep |
import mango icu | UTimeZone |
import mango icu | UTransform |
import mango io | ArrayAllocator |
import mango io | Buffer |
import mango io | BufferCodec |
import mango io | BufferFormat |
import mango io | ColumnWriter |
import mango io | Conduit |
import mango io | Console |
import mango io | DatagramSocket |
import mango io | DeviceConduit |
import mango io | DisplayWriter |
import mango io | EndianReader |
import mango io | EndianWriter |
import mango io | Exception |
import mango io | File |
import mango io | FileBucket |
import mango io | FileConduit |
import mango io | FileConst |
import mango io | FilePath |
import mango io | FileProxy |
import mango io | FileScan |
import mango io | FileSystem |
import mango io | FlushWriter |
import mango io model | IBitBucket |
import mango io model | IBuffer |
import mango io model | IConduit |
import mango io model | IPickle |
import mango io model | IReader |
import mango io model | IWriter |
import mango io | MulticastSocket |
import mango io | PickleReader |
import mango io | PickleRegistry |
import mango io | PickleWriter |
import mango io | Properties |
import mango io | Reader |
import mango io | ServerSocket |
import mango io | Socket |
import mango io | SocketConduit |
import mango io | SocketListener |
import mango io | Stdin |
import mango io | Stdout |
import mango io | GrowBuffer |
import mango io | MappedBuffer |
import mango io | TextLayout |
import mango io | TextReader |
import mango io | TextWriter |
import mango io | Token |
import mango io | Tokenizer |
import mango io | Uri |
import mango io | Writer |
import mango io | |
import mango io | UnicodeFile |
import mango io | EndianFilter |
import mango log | Admin |
import mango log | Appender |
import mango log | Configurator |
import mango log | PropertyConfigurator |
import mango log | ConsoleAppender |
import mango log | DateLayout |
import mango log | Event |
import mango log | FileAppender |
import mango log | Hierarchy |
import mango log | Layout |
import mango log | Logger |
import mango log | Manager |
import mango log model | ILevel |
import mango log model | ILogger |
import mango log | NullAppender |
import mango log | RollingFileAppender |
import mango log | SocketAppender |
import mango log | XmlLayout |
import mango servlet model | IServletRequest |
import mango servlet model | IServletResponse |
import mango servlet | Servlet |
import mango servlet | ServletConfig |
import mango servlet | ServletContext |
import mango servlet | ServletProvider |
import mango servlet | ServletRequest |
import mango servlet | ServletResponse |
import mango sys | ByteSwap |
import mango sys | Epoch |
import mango sys | System |
import mango sys | OS |
import mango utils | AbstractServer |
import mango utils | HeapSlice |
import mango utils model | IServer |
import mango utils | Random |
import mango utils | ServerThread |
import mango utils | Timer |
import mango text | Text |
import mango text | CharToken |
import mango text | LineToken |
import mango text | QuotedToken |
import mango text | RegexToken |
import mango text | String |
import mango text | AnonymousString |
import mango text model | UniString |
import mango locks | Condition |
import mango locks | Countdown |
import mango locks | CyclicBarrier |
import mango locks | Exceptions |
import mango locks | Exchanger |
import mango locks | Lock |
import mango locks | LockImpl |
import mango locks | ReadWriteLock |
import mango locks | ReentrantLock |
import mango locks | Semaphore |
import mango locks | TimeUnit |
import mango locks | Utils |
|
|
|
Definition at line 3 of file mango.d. Referenced by ServletProvider::this(), PlainCache::this(), ChannelCache::this(), ClusterQueue::this(), ClusterCache::this(), and Cluster::this(). |
|
|
|
|
|
|
|
|
|
Definition at line 8 of file mango.d. Referenced by ServletProvider::this(), and ChannelCache::this(). |
|
|
|
Definition at line 11 of file mango.d. Referenced by ChannelCache::this(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 23 of file mango.d. Referenced by ClusterServer::this(). |
|
Definition at line 24 of file mango.d. Referenced by ClusterServer::start(). |
|
Definition at line 25 of file mango.d. Referenced by Cluster::createConsumer(). |
|
|
|
Definition at line 27 of file mango.d. Referenced by ClusterServer::service(). |
|
Definition at line 28 of file mango.d. Referenced by ClusterThread::this(), CacheServer::LoaderThread::this(), and BulletinConsumer::this(). |
|
Definition at line 29 of file mango.d. Referenced by ClusterThread::this(), CacheServer::LoaderThread::this(), and Cluster::this(). |
|
Definition at line 30 of file mango.d. Referenced by ClusterServer::this(). |
|
|
|
|
|
Definition at line 34 of file mango.d. Referenced by BufferFormatTemplate(), DisplayWriter::this(), and Token::toReal(). |
|
Definition at line 35 of file mango.d. Referenced by FormatClassTemplate(), IntegerTemplate(), MutableStringTemplate(), SprintClassTemplate(), SprintStructTemplate(), and DisplayWriter::this(). |
|
Definition at line 36 of file mango.d. Referenced by HttpTokens::addInt(), FormatStructTemplate(), Cluster::getGroup(), HttpTokens::getInt(), IntegerTemplate(), CookieParser::next(), InternetAddress::parse(), Uri::parseAuthority(), AbstractServer::start(), Uri::write(), and Cookie::write(). |
|
|
|
Definition at line 38 of file mango.d. Referenced by DoubleTemplate(), HttpRequest::getHost(), IntegerTemplate(), ResponseLine::parse(), Token::toInt(), and Token::toLong(). |
|
|
|
|
|
Definition at line 41 of file mango.d. Referenced by SprintClassTemplate(). |
|
|
|
|
|
Definition at line 45 of file mango.d. Referenced by HttpRequest::this(). |
|
Definition at line 46 of file mango.d. Referenced by HttpResponse::this(), and HttpMutableCookies::this(). |
|
Definition at line 47 of file mango.d. Referenced by HttpServer::service(). |
|
Definition at line 48 of file mango.d. Referenced by HttpRequest::this(). |
|
Definition at line 49 of file mango.d. Referenced by HttpHeaders::clone(), and HttpClient::this(). |
|
|
|
Definition at line 51 of file mango.d. Referenced by HttpParams::clone(). |
|
|
|
Definition at line 53 of file mango.d. Referenced by HttpRequest::this(). |
|
Definition at line 54 of file mango.d. Referenced by HttpProvider::createRequest(). |
|
Definition at line 55 of file mango.d. Referenced by HttpProvider::createResponse(). |
|
Definition at line 56 of file mango.d. Referenced by TaskServer::this(). |
|
Definition at line 57 of file mango.d. Referenced by HttpServer::createThread(). |
|
|
|
|
|
|
|
Definition at line 61 of file mango.d. Referenced by ServletConfig::this(). |
|
Definition at line 62 of file mango.d. Referenced by TokenStack::clone(), and HttpTokens::this(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 90 of file mango.d. Referenced by this(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 96 of file mango.d. Referenced by HttpClient::open(). |
|
|
|
|
|
|
Definition at line 100 of file mango.d. Referenced by FileScan::files(), and FileScan::scanFiles(). |
|
|
|
Definition at line 102 of file mango.d. Referenced by FileConduit::copy(), ServletContext::getResourceAsFile(), Properties::load(), File::read(), FileBucket::this(), UnicodeFile(), UnicodeFileTemplate(), and File::write(). |
|
|
|
|
|
|
|
|
|
|
Definition at line 108 of file mango.d. Referenced by this(). |
|
|
|
Definition at line 110 of file mango.d. Referenced by ScannerTemplate(). |
|
Definition at line 111 of file mango.d. Referenced by LineScanner::next(), Scanner::next(), Scanner::notFound(), and ScannerTemplate(). |
|
|
|
|
|
|
|
|
|
Definition at line 116 of file mango.d. Referenced by VirtualCache::this(). |
|
|
|
Definition at line 118 of file mango.d. Referenced by VirtualCache::this(). |
|
|
|
|
|
Definition at line 121 of file mango.d. Referenced by HttpServer::createSocket(), CacheServer::createSocket(), and ClusterServer::createSocket(). |
|
Definition at line 122 of file mango.d. Referenced by Socket::createSocket(). |
|
Definition at line 123 of file mango.d. Referenced by SocketConduit::allocate(), HttpClient::createSocket(), ConnectionPool::PoolConnection::reset(), and SocketAppender::setAddress(). |
|
|
|
The ubiquitous console IO support. These are standard Conduit instances, with Reader/Writer wrappers applied appropriately. Note that the outputs use FlushBuffer to automatically flush data as it is added to the buffer. The basic usage of this module is illustrated below:
char[] msg = "on the console"; Stdout ("print ") (1) (' ') ("message ") (msg) (CR); An alternative is to use put() notation like so:
char[] msg = "on the console"; Stdout.put ("print ") .put (1) .put (' ') .put ("message ") .put (msg) .put (CR); Another alternative is to use the C++ iostream operators like so:
char[] msg = "on the console"; Stdout << "print " << 1 << ' ' << "message " << msg << CR; Since console idioms are based upon Conduit, you can use them as direct targets for stream-oriented operations. For example, the code:
FileConduit fc = new FileConduit ("myfile.txt"); Stdout.conduit.copy (fc); copies a text file directly to the console. Likewise, you can copy console input directly to a FileConduit or a SocketConduit. Input via Stdin is similar in nature, but uses the Token classes to isolate and parse each token on an input line:
Note that Stdin awaits a carriage-return before parsing the input into the targets. Note also that the Stdout and Stderr are not written to be thread-safe. As such you may find that output from two threads intersect across each other. If this is a problem you should wrap a synchronized block around the offending entity, like so:
Alternatively, please consider using the mango.log (Logger) package to provide detailed runtime diagnostics from your application. The functionality exposed there is likely sufficient for most application needs. Redirecting the standard IO handles (via a shell) operates as one would expect. Definition at line 129 of file Stdin.d. Referenced by this(). |
|
The ubiquitous console IO support. These are standard Conduit instances, with Reader/Writer wrappers applied appropriately. Note that the outputs use FlushBuffer to automatically flush data as it is added to the buffer. The basic usage of this module is illustrated below:
char[] msg = "on the console"; Stdout ("print ") (1) (' ') ("message ") (msg) (CR); An alternative is to use put() notation like so:
char[] msg = "on the console"; Stdout.put ("print ") .put (1) .put (' ') .put ("message ") .put (msg) .put (CR); Another alternative is to use the C++ iostream operators like so:
char[] msg = "on the console"; Stdout << "print " << 1 << ' ' << "message " << msg << CR; Since console idioms are based upon Conduit, you can use them as direct targets for stream-oriented operations. For example, the code:
FileConduit from = new FileConduit ("myfile.txt"); Stdout.conduit.copy (from); copies a text file directly to the console. Likewise, you can copy console input directly to a FileConduit or a SocketConduit. Input via Stdin is similar in nature, but uses the Token classes to isolate and parse each token on an input line:
Stdout automatically flushes the output when it sees a CR, so you may need to flush the output manually where a CR is not desired. This is the case in the above example, so we use the empty () to request a flush (which is actually an alias for the flush method). Note that Stdin awaits a carriage-return before parsing the input into the targets. Note also that the Stdout and Stderr are not written to be thread-safe. As such you may find that output from two threads intersect across each other. If this is a problem you should wrap a synchronized block around the offending entity, like so:
Alternatively, please consider using the mango.log (Logger) package to provide detailed runtime diagnostics from your application. The functionality exposed there is likely sufficient for most application needs. Redirecting the standard IO handles (via a shell) operates as one would expect. Definition at line 141 of file Stdout.d. Referenced by HttpResponse::commit(), HttpResponse::flush(), HttpRequest::readHeaders(), and this(). |
|
Definition at line 127 of file mango.d. Referenced by VirtualCache::this(), and ClusterThread::this(). |
|
|
|
|
|
Definition at line 130 of file mango.d. Referenced by this(). |
|
|
|
Definition at line 181 of file mango.d. Referenced by TokenStack::resize(). |
|
|
|
|
|
|
|
Definition at line 47 of file Print.d. Referenced by this(). |
|
Definition at line 137 of file mango.d. Referenced by UnicodeFile(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 52 of file IServletResponse.d. |
|
|
|
|
|
|
|
|
|
Definition at line 165 of file mango.d. Referenced by ServletProvider::createRequest(). |
|
Definition at line 166 of file mango.d. Referenced by ServletProvider::createResponse(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 174 of file mango.d. Referenced by Uri::this(). |
|
|
|
|
|
Definition at line 177 of file mango.d. Referenced by ClusterServer::createThread(). |
|
|
|
Definition at line 180 of file mango.d. Referenced by ServletContext::checkPath(), HttpMessage::getContentType(), HttpRequest::getHost(), HttpRequest::getInputParameters(), FileSystem::VersionWin32::listRoots(), Properties::load(), HttpMessage::setMimeAndEncoding(), HttpTokens::split(), and FilePath::toUri(). |
|
|
|
|
|
Definition at line 184 of file mango.d. Referenced by this(). |
|
|
|
Definition at line 186 of file mango.d. Referenced by MutableString(), MutableStringTemplate(), String(), and StringTemplate(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 198 of file mango.d. Referenced by Exchanger(), and CyclicBarrier::this(). |
|
|
|
Definition at line 200 of file mango.d. Referenced by Exchanger(), toMicros(), toMillis(), and toSeconds(). |
|
|