Full Download Programming WCF Services Mastering WCF and the Azure AppFabric Service Bus Third Edition Juval Lowy PDF DOCX
Full Download Programming WCF Services Mastering WCF and the Azure AppFabric Service Bus Third Edition Juval Lowy PDF DOCX
com
https://ebookname.com/product/programming-wcf-services-
mastering-wcf-and-the-azure-appfabric-service-bus-third-
edition-juval-lowy/
OR CLICK BUTTON
DOWNLOAD EBOOK
https://ebookname.com/product/com-and-net-component-services-1st-
edition-juval-lowy/
ebookname.com
https://ebookname.com/product/pro-wcf-4-practical-microsoft-soa-
implementation-2nd-ed-2nd-edition-nishith-pathak/
ebookname.com
https://ebookname.com/product/minsky-crisis-and-development-1st-
edition-daniela-tavasci/
ebookname.com
Hydrogen Transfer Reactions 1st Edition James T. Hynes
https://ebookname.com/product/hydrogen-transfer-reactions-1st-edition-
james-t-hynes/
ebookname.com
https://ebookname.com/product/a-history-of-eastern-europe-crisis-and-
change-2nd-edition-robert-bideleux/
ebookname.com
https://ebookname.com/product/inside-the-castle-law-and-the-family-
in-20th-century-america-joanna-l-grossman/
ebookname.com
https://ebookname.com/product/neuroimaging-in-ophthalmology-
opthamology-monograph-series-2nd-edition-michael-c-johnson/
ebookname.com
https://ebookname.com/product/medicine-meets-virtual-
reality-14-accelerating-change-in-healthcare-next-medical-toolkit-1st-
edition-r-s-haluck/
ebookname.com
Analytical Chemistry A Toolkit for Scientists and
Laboratory Technicians 2nd Edition Bryan M. Ham
https://ebookname.com/product/analytical-chemistry-a-toolkit-for-
scientists-and-laboratory-technicians-2nd-edition-bryan-m-ham/
ebookname.com
Download from Library of Wow! eBook <www.wowebook.com>
Download from Library of Wow! eBook <www.wowebook.com>
Programming WCF Services
Juval Löwy
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions
are also available for most titles (http://my.safaribooksonline.com). For more information, contact our
corporate/institutional sales department: (800) 998-9938 or [email protected].
Editors: Mike Hendrickson and Laurel Ruma Indexer: Newgen North America, Inc.
Production Editor: Teresa Elsey Cover Designer: Karen Montgomery
Proofreader: Teresa Elsey Interior Designer: David Futato
Illustrator: Robert Romano
Printing History:
February 2007: First Edition.
November 2008: Second Edition.
August 2010: Third Edition.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of
O’Reilly Media, Inc. Programming WCF Services, Third Edition, the image of an angelfish, and related
trade dress are trademarks of O’Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a
trademark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and author assume
no responsibility for errors or omissions, or for damages resulting from the use of the information con-
tained herein.
ISBN: 978-0-596-80548-7
[M]
1281631550
Foreword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
1. WCF Essentials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
What Is WCF? 1
Services 2
Service Execution Boundaries 3
WCF and Location Transparency 4
Addresses 4
TCP Addresses 5
HTTP Addresses 6
IPC Addresses 6
MSMQ Addresses 7
Service Bus Addresses 7
Contracts 7
The Service Contract 8
Hosting 11
IIS 5/6 Hosting 12
Self-Hosting 13
WAS Hosting 19
Custom Hosting in IIS/WAS 19
Windows Server AppFabric 20
Choosing a Host 22
Bindings 24
The Common Bindings 25
Choosing a Binding 26
Additional Bindings 27
Using a Binding 29
Endpoints 29
Administrative Endpoint Configuration 30
vii
2. Service Contracts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Operation Overloading 83
Contract Inheritance 86
Client-Side Contract Hierarchy 87
Service Contract Factoring and Design 90
Contract Factoring 90
Factoring Metrics 93
Contract Queries 95
Programmatic Metadata Processing 95
The MetadataHelper Class 98
Table of Contents | ix
5. Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
Request-Reply Operations 225
One-Way Operations 226
Configuring One-Way Operations 226
One-Way Operations and Reliability 227
One-Way Operations and Sessionful Services 227
One-Way Operations and Exceptions 228
Callback Operations 230
The Callback Contract 231
Client Callback Setup 232
Service-Side Callback Invocation 235
Callback Connection Management 239
The Duplex Proxy and Type Safety 241
The Duplex Factory 244
Callback Contract Hierarchy 246
Events 247
Streaming 251
I/O Streams 251
Streaming and Binding 252
Streaming and Transport 253
6. Faults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
Error Isolation and Decoupling 255
Error Masking 256
x | Table of Contents
7. Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
The Recovery Challenge 293
Transactions 294
Transactional Resources 295
Transaction Properties 295
Transaction Management 297
Resource Managers 301
Transaction Propagation 301
Transaction Flow and Bindings 301
Transaction Flow and the Operation Contract 302
One-Way Calls 304
Transaction Protocols and Managers 305
Protocols and Bindings 306
Transaction Managers 307
Transaction Manager Promotion 310
The Transaction Class 311
The Ambient Transaction 312
Local Versus Distributed Transactions 312
Transactional Service Programming 314
Setting the Ambient Transaction 314
Transaction Propagation Modes 316
Voting and Completion 324
Transaction Isolation 327
Transaction Timeout 329
Explicit Transaction Programming 331
The TransactionScope Class 331
Transaction Flow Management 333
Non-Service Clients 340
Service State Management 342
The Transaction Boundary 343
Instance Management and Transactions 343
Table of Contents | xi
DENMARK VESEY.
No class of persons in the world, who have the name of being free,
are more sorely oppressed than the free colored people of the
Southern States. Each state has its code of black laws, which are
rigorously enforced, and the victim made to feel his degradation at
all times and in all places. An undeveloped discontent pervades the
entire black population, bond and free, in all the slave states. Human
bondage is ever fruitful of insurrection, wherever it exists, and under
whatever circumstances it may be found. Every community the other
side of "Dixon's Line" feels that it lives upon a volcano that is liable
to burst out at any moment; and all are watchful, and fearfully in
earnest, in looking after the colored man's affairs, and inventing
sterner enactments to keep him in subjection. The most oppressive
of all the states is South Carolina. In Charleston, free colored ladies
are not allowed to wear veils about their faces in the streets, or in
any public places. A violation of this law is visited with "thirty-nine
lashes upon the bare back." The same is inflicted upon any free
colored man who shall be seen upon the streets with a cigar in his
mouth, or a walking stick in his hand. Both, when walking the
streets, are forbidden to take the inside of the pavement.
Punishment of fine and imprisonment is laid upon any found out
after the hour of nine at night. An extra tax is placed upon every
member of a free colored family. While all these odious edicts were
silently borne by the free colored people of Charleston in 1822 there
was a suppressed feeling of indignation, mortification, and
discontent, that was only appreciated by a few. Among the most
dissatisfied of the free blacks was Denmark Vesey, a man who had
purchased his freedom in the year 1800, and since that time had
earned his living by his trade, being a carpenter and joiner. Having
been employed on shipboard by his master, Captain Vesey, Denmark
had seen a great deal of the world, and had acquired a large fund of
information, and was regarded as a leading man among the blacks.
He had studied the Scriptures, and never lost an opportunity of
showing that they were opposed to chattel-slavery. He spoke freely
with the slaves upon the subject, and often with whites, where he
found he could do so without risk to his own liberty. After resolving
to incite the slaves to rebellion, he began taking into his confidence
such persons as he could trust, and instructing them to gain
adherents from among the more reliable of both bond and free.
Peter Poyas, a slave of more than ordinary foresight and ability, was
selected by Vesey as his lieutenant; and to him was committed the
arduous duty of arranging the mode of attack, and of acting as the
military leader.
"His plans showed some natural generalship; he arranged the night
attack; he planned the enrolment of a mounted troop to scour the
streets; and he had a list of all the shops where arms and
ammunition were kept for sale. He voluntarily undertook the
management of the most difficult part of the enterprise,—the
capture of the main guard-house,—and had pledged himself to
advance alone and surprise the sentinel. He was said to have a
magnetism in his eye, of which his confederates stood in great awe;
if he once got his eye upon a man, there was no resisting it."
Gullah Jack, Tom Russell, and Ned Bennett. The last two were not
less valuable than Peter Poyas; for Tom was an ingenious mechanic,
and made battle-axes, pikes, and other instruments of death, with
which to carry on the war. All of the above were to be generals of
brigades, and were let into all the secrets of the intended rising. It
has long been the custom in Charleston for the country slaves to
visit the city in great numbers on Sunday, and return to their homes
in time to commence work on the following morning. It was
therefore determined by Denmark to have the rising take place on
Sunday. The slaves of nearly every plantation in the vicinity were
enlisted, and were to take part.
"The details of the plan, however, were not rashly committed to the
mass of the confederates; they were known only to a few, and were
finally to have been announced after the evening prayer-meeting on
the appointed Sunday. But each leader had his own company
enlisted, and his own work marked out. When the clock struck
twelve, all were to move. Peter Poyas was to lead a party ordered to
assemble at South Bay, and to be joined by a force from James's
Island; he was then to march up and seize the arsenal and guard-
house opposite St. Michael's Church, and detach a sufficient number
to cut off all white citizens who should appear at the alarm posts. A
second body of negroes, from the country and the Neck, headed by
Ned Bennett, was to assemble on the Neck and seize the arsenal
there. A third was to meet at Governor Bennett's Mills, under
command of Rolla, another leader, and, after putting the governor
and intendant to death, to march through the city, or be posted at
Cannon's Bridge, thus preventing the inhabitants of Cannonsborough
from entering the city. A fourth, partly from the country and partly
from the neighboring localities in the city, was to rendezvous on
Gadsden's Wharf and attack the upper guard-house. A fifth,
composed of country and Neck negroes, was to assemble at
Bulkley's farm, two miles and a half from the city, seize the upper
powder magazine, and then march down; and a sixth was to
assemble at Denmark Vesey's and obey his orders. A seventh
detachment, under Gullah Jack, was to assemble in Boundary Street,
at the head of King Street, to capture the arms of the Neck company
of militia, and to take an additional supply from Mr. Duquercron's
shop. The naval stores on Mey's Wharf were also to be attacked.
Meanwhile a horse company, consisting of many draymen, hostlers,
and butcher boys, was to meet at Lightwood's Alley, and then scour
the streets to prevent the whites from assembling. Every white man
coming out of his own door was to be killed, and, if necessary, the
city was to be fired in several places—slow match for this purpose
having been purloined from the public arsenal and placed in an
accessible position."
The secret and plan of attack, however, were incautiously divulged
to a slave named Devany, belonging to Colonel Prioleau, and he at
once informed his master's family. The mayor, on getting possession
of the facts, called the city council together for consultation. The
investigation elicited nothing new, for the slaves persisted in their
ignorance of the matter, and the authorities began to feel that they
had been imposed upon by Devany and his informant, when another
of the conspirators, being bribed, revealed what he knew. Arrests
after arrests were made, and the Mayor's Court held daily
examinations for weeks. After several weeks of incarceration, the
accused, one hundred and twenty in number, were brought to trial:
thirty-four were sentenced to transportation, twenty-seven acquitted
by the court, twenty-five discharged without trial, and thirty-five
condemned to death. With but two or three exceptions, all of the
conspirators went to the gallows feeling that they had acted right,
and died like men giving their lives for the cause of freedom. A
report of the trial, written soon after, says of Denmark Vesey,—
"For several years before he disclosed his intentions to any one, he
appears to have been constantly and assiduously engaged in
endeavoring to embitter the minds of the colored population against
the white. He rendered himself perfectly familiar with all those parts
of the Scriptures which he thought he could pervert to his purpose,
and would readily quote them to prove that slavery was contrary to
the laws of God,—that slaves were bound to attempt their
emancipation, however shocking and bloody might be the
consequences,—and that such efforts would not only be pleasing to
the Almighty, but were absolutely enjoined, and their success
predicted, in the Scriptures. His favorite texts, when he addressed
those of his own color, were Zechariah xiv. 1-3, and Joshua vi. 21;
and in all his conversations he identified their situation with that of
the Israelites. The number of inflammatory pamphlets on slavery
brought into Charleston from some of our sister states within the last
four years, (and once from Sierra Leone,) and distributed amongst
the colored population of the city, for which there was a great
facility, in consequence of the unrestricted intercourse allowed to
persons of color between the different states in the Union, and the
speeches in Congress of those opposed to the admission of Missouri
into the Union, perhaps garbled and misrepresented, furnished him
with ample means for inflaming the minds of the colored population
of this state; and by distorting certain parts of those speeches, or
selecting from them particular passages, he persuaded but too many
that Congress had actually declared them free, and that they were
held in bondage contrary to the laws of the land. Even whilst walking
through the streets in company with another, he was not idle; for if
his companion bowed to a white person, he would rebuke him, and
observe that all men were born equal, and that he was surprised
that any one would degrade himself by such conduct,—that he
would never cringe to the whites, nor ought any one who had the
feelings of a man. When answered, 'We are slaves,' he would
sarcastically and indignantly reply, 'You deserve to remain slaves;'
and if he were further asked, 'What can we do?' he would remark,
'Go and buy a spelling-book and read the fable of Hercules and the
Wagoner,' which he would then repeat, and apply it to their
situation. He also sought every opportunity of entering into
conversation with white persons, when they could be overheard by
negroes near by, especially in grog shops; during which
conversation, he would artfully introduce some bold remark on
slavery; and sometimes, when, from the character he was
conversing with, he found he might be still bolder, he would go so
far, that, had not his declarations in such situations been clearly
proved, they would scarcely have been credited. He continued this
course until some time after the commencement of the last winter;
by which time he had not only obtained incredible influence amongst
persons of color, but many feared him more than their owners, and,
one of them declared, even more than his God."
The excitement which the revelations of the trial occasioned, and the
continual fanning of the flame by the newspapers, were beyond
description. Double guard in the city, the country patrol on
horseback and on foot, the watchfulness that was observed on all
plantations, showed the deep feeling of fear pervading the hearts of
the slaveholders, not only in South Carolina, but the fever extended
to the other Southern States, and all seemed to feel that a great
crisis had been passed. And indeed, their fears seem not to have
been without ground, for a more complicated plan for an
insurrection could scarcely have been conceived. And many were of
opinion that, the rising once begun, they would have taken the city
and held it, and might have sealed the fate of slavery in the south.
The best account of this whole matter is to be found in an able
article in the Atlantic Monthly for June, 1861, from the pen of that
eloquent friend of freedom T. W. Higginson, and to which I am
indebted for the extracts contained in this memoir of Denmark
Vesey.
JAMES M. WHITFIELD.
There has long resided in Buffalo, New York, a barber, noted for his
scholarly attainments and gentlemanly deportment. Men of the most
polished refinement visit his saloon, and, while being shaved, take
pleasure in conversing with him; and all who know him feel that he
was intended by nature for a higher position in life. This is James M.
Whitfield. He is a native of Massachusetts, and removed west some
years since. We give a single extract from one of his poems.
"How long, O gracious God, how long
Shall power lord it over right?
The feeble, trampled by the strong,
Remain in slavery's gloomy night?
In every region of the earth
Oppression rules with iron power;
And every man of sterling worth,
Whose soul disdains to cringe or cower
Beneath a haughty tyrant's nod,
And, supplicating, kiss the rod
That, wielded by oppression's might,
Smites to the earth his dearest right,—
The right to speak, and think, and feel,
And spread his uttered thoughts abroad,
To labor for the common weal,
Responsible to none but God,—
Is threatened with the dungeon's gloom,
The felon's cell, the traitor's doom,
And treacherous politicians league
With hireling priests to crush and ban
All who expose their vain intrigue,
And vindicate the rights of man.
How long shall Afric raise to thee
Her fettered hand, O Lord, in vain,
And plead in fearful agony
For vengeance for her children slain?
I see the Gambia's swelling flood,
And Niger's darkly-rolling wave,
Bear on their bosoms, stained with blood,
The bound and lacerated slave;
While numerous tribes spread near and far
Fierce, devastating, barbarous war,
Earth's fairest scenes in ruin laid,
To furnish victims for that trade
Which breeds on earth such deeds of shame,
As fiends might blush to hear or name."
Mr. Whitfield has written several long poems, all of them in good
taste and excellent language.
ANDRE RIGAUD.
Slavery, in St. Domingo, created three classes—the white planters,
the free mulattoes, and the slaves, the latter being all black. The
revolution brought out several valiant chiefs among the mulattoes,
their first being Vincent Ogé. This man was not calculated for a
leader of rebellion. His mother having been enabled to support him
in France as a gentleman, he had cherished a delicacy of sentiment
very incompatible with the ferocity of revolt. But Andre Rigaud, their
next and greatest chief, was a far different man. A native of Aux
Cayes, educated at Bourdeaux, and afterwards spending some time
at Paris, maturing his mind amid scenes of science and literature,
Rigaud's position among his followers was an exalted one. His father
was white and his mother black. He was tall and slim, with features
beautifully defined. Nature had been profligate in bestowing her gifts
upon him.
While at the Military School at Paris, besides being introduced into
good society, he became acquainted with Lafayette, Condorcet,
Gregoire, and other distinguished statesmen, and his manners were
polished and his language elegant. In religion he was the very
opposite of Toussaint. An admirer of Voltaire and Rousseau, he had
made their works his study. A long residence in the French
metropolis had enabled him to become acquainted with the followers
of these two distinguished philosophers. He had seen two hundred
thousand persons following the bones of Voltaire, when removed to
the Pantheon, and, in his admiration for the great author, had
confounded liberty with infidelity. In Asia, he would have governed
an empire; in St. Domingo, he was scarcely more than an outlawed
chief; but he had in his soul the elements of a great man. In military
science, horsemanship, and activity, Rigaud was the first man on the
island, of any color. Toussaint bears the following testimony to the
great skill of the mulatto general: "I know Rigaud well. He leaps
from his horse when at full gallop, and he puts all his force in his
arm when he strikes a blow." He was high-tempered, irritable, and
haughty. The charmed power that he held over the men of his color
can scarcely be described. At the breaking out of the revolution, he
headed the mulattoes in his native town, and soon drew around him
a formidable body of men.
After driving the English and Spaniards from the island, and
subduing the French planters, Toussaint and Rigaud made war upon
each other. As the mulattoes were less than fifty thousand in
number, and the blacks more than five hundred thousand, Rigaud
was always outnumbered on the field of battle; but his forces,
fighting under the eyes of the general whom they adored, defended
their territory with vigor, if not with success. Reduced in his means
of defence by the loss of so many brave men in his recent battles,
Rigaud had the misfortune to see his towns fall, one after another,
into the power of Toussaint, until he was driven to the last citadel of
his strength—the town of Aux Cayes. As he thus yielded foot by foot,
every thing was given to desolation before it was abandoned, and
the land, which under his active government had just before been so
adorned with cultivation, was made such a waste of desolation, that,
according almost to the very letter of his orders, "the trees were
turned with their roots in the air." The genius and activity of
Toussaint were completely at fault in his attempt to force the
mulatto general from his intrenchments.
The government of France was too much engaged at home with her
own revolution to pay any attention to St. Domingo. The republicans
in Paris, after getting rid of their enemies, turned upon each other.
The revolution, like Saturn, devoured its own children; priest and
people were murdered upon the thresholds of justice. Murat died at
the hands of Charlotte Corday. Louis XVI. and Marie Antoinette were
guillotined, Robespierre had gone to the scaffold, and Bonaparte was
master of France.
The conqueror of Egypt now turned his attention to St. Domingo. It
was too important an island to be lost to France or destroyed by civil
war, and, through the mediation of Bonaparte, the war between
Toussaint and Rigaud was brought to a close.
Petion and several other generals followed Rigaud, when, at the
conclusion of his war with Toussaint, he embarked for France. When
Napoleon's ill-fated expedition came to St. Domingo, Rigaud
returned, made his appearance at Aux Cayes, and, under his
influence, the south soon rallied in arms against Toussaint. He
fought bravely for France until the subjugation of the blacks and the
transportation of their chief to the mother country, when Napoleon
felt that Rigaud, too, was as dangerous to the peace of St. Domingo
as Toussaint, and he was once more forced to return to France. Here
he was imprisoned—not for any thing that he had done against the
government of Bonaparte, but for fear that the mulatto chief would
return to his native island, take up arms, and assist his race, who
were already in rebellion against Leclerc.
Although the whites and the free colored men were linked together
by the tender ties of nature, there was, nevertheless, a hatred to
each other, even stronger than between the whites and the blacks.
In the earlier stages of the revolution, before the blacks under
Toussaint got the ascendency, several attempts had been made to
get rid of the leaders of the mulattoes, and especially Rigaud. He
was hated by the whites in the same degree as they feared his all-
powerful influence with his race, and the unyielding nature of his
character, which gave firmness and consistency to his policy while
controlling the interests of his brethren. Intrigue and craftiness could
avail nothing against the designs of one who was ever upon the
watch, and who had the means of counteracting all secret attempts
against him; and open force, in the field, could not be successful in
destroying a chieftain whose power was often felt, but whose person
was seldom seen. Thus, to accomplish a design which had long been
in meditation, the whites of Aux Cayes were now secretly preparing
a mine for Rigaud, which, though it was covered with roses, and to
be sprung by professed friends, it was thought would prove a sure
and efficacious method of ridding them of such an opponent, and
destroying the pretensions of the mulattoes forever. It was proposed
that the anniversary of the destruction of the Bastile should be
celebrated in the town by both whites and mulattoes, in union and
gratitude. A civic procession marched to the church, where Te Deum
was chanted and an oration pronounced. The Place d'Armes was
crowded with tables of refreshments, at which both whites and
mulattoes seated themselves. But beneath this seeming patriotism
and friendship, a dark and fatal conspiracy lurked, plotting treachery
and death. It had been resolved that, at a preconcerted signal, every
white at the table should plunge his knife into the bosom of the
mulatto who was seated nearest to him. Cannon had been planted
around the place of festivity, that no fugitive from the massacre
should have the means of escaping; and that Rigaud should not fail
to be secured as the first victim of a conspiracy prepared especially
against his life, the commander-in-chief of the National Guard had
been placed at his side, and his murder of the mulatto chieftain was
to be the signal for a general onset upon all his followers. The officer
to whom had been intrusted the assassination of Rigaud, found it no
small matter to screw his courage up to the sticking point, and the
expected signal, which he was to display in blood to his associates,
was so long delayed, that secret messengers began to throng to him
from all parts of the tables, demanding why execution was not done
on Rigaud. Urged on by these successive appeals, the white general
at last applied himself to the fatal task which had been allotted him;
but instead of silently plunging his dagger into the bosom of the
mulatto chief, he sprung upon him with a pistol in his hand, and,
with a loud execration, fired it at his intended victim. But Rigaud
remained unharmed, and, in the scuffle which ensued, the white
assassin was disarmed and put to flight. The astonishment of the
mulattoes soon gave way to tumult and indignation, and this
produced a drawn battle, in which both whites and mulattoes,
exasperated as they were to the utmost, fought man to man. The
struggle continued fiercely until the whites were driven from the
town, having lost one hundred and fifty of their number, and slain
many of their opponents.
Tidings of this conspiracy flew rapidly in all directions; and such was
the indignation of the mulattoes at this attack upon their chief,
whose death had even been announced in several places as certain,
that they seized upon all the whites within their reach; and their
immediate massacre was only prevented by the arrival of intelligence
that Rigaud was still alive. Such were the persecutions which the
leader of the mulattoes, now in exile, had experienced in his own
land. Napoleon kept him confined in the prison of the Temple first,
and then at the castle of Joux, where Toussaint had ended his life.
During this time, St. Domingo was undergoing a great change.
Leclerc had died, Rochambeau and his forces had been driven from
the island, Dessalines had reigned and passed away, and Christophe
was master of the north, and Petion of the south. These two
generals were at war with each other, when they were both very
much surprised at the arrival of Rigaud from France. He had escaped
from his prison, made his way to England, and thence to the island
by way of the United States. Petion, the president of the republic in
the south, regarded Rigaud as a more formidable enemy than
Christophe. The great mulatto general was welcomed with
enthusiasm by his old adherents; they showed the most sincere
respect and attachment for him, and he journeyed in triumph to Port
au Prince. Though Petion disliked these demonstrations in favor of a
rival, he dared not attempt to interfere, for he well knew that a
single word from Rigaud could raise a revolt among the mulattoes.
Petion, himself a mulatto, had served under the former in the first
stages of the revolution. The people of Aux Cayes welcomed their
chief to his home, and he drew around him all hearts, and in a short
time Rigaud was in full possession of his ancient power. The
government of Petion was divided to make room for the former
chief, and, though the two leaders for a while flew to arms against
each other, they, nevertheless, were driven to an alliance on account
of the encroachments of Christophe.
After a reign that was fraught only with tumult to himself and
followers, Rigaud abdicated his province, retired to his farm, and in a
few weeks died. Thus ended the career of the most distinguished
mulatto general of which St. Domingo could boast.
MARTIN R. DELANY, M. D.
Dr. Delany has long been before the public. His first appearance, we
believe, was in connection with The Mystery, a weekly newspaper
published at Pittsburg, and of which he was editor. His journal was
faithful in its advocacy of the rights of man, and had the reputation
of being a well-conducted sheet. The doctor afterwards was
associated with Frederick Douglass in the editorial management of
his paper at Rochester, N. Y. From the latter place he removed to
Canada, and has since resided in Chatham, where he is looked upon
as one of its leading citizens.
Dr. M. R. Delany, though regarded as a man high in his profession, is
better and more widely known as a traveller, discoverer, and lecturer.
His association with Professor Campbell in the "Niger Valley
Exploring Expedition" has brought the doctor very prominently
before the world, and especially that portion of it which takes an
interest in the civilization of Africa. The official report of that
expedition shows that he did not visit that country with his eyes
shut. His observations and suggestions about the climate, soil,
diseases, and natural productions of Africa, are interesting, and give
evidence that the doctor was in earnest. The published report, of
which he is the author, will repay a perusal.
On his return home, Dr. Delany spent some time in England, and
lectured in the British metropolis and the provincial cities, with
considerable success, on Africa and its resources. As a member of
the International Statistical Congress, he acquitted himself with
credit to his position and honor to his race. The foolish manner in
which the Hon. Mr. Dallas, our minister to the court of St. James,
acted on meeting Dr. Delany in that august assembly, and the
criticisms of the press of Europe and America, will not soon be
forgotten.
He is short, compactly built, has a quick, wiry walk, and is decided
and energetic in conversation, unadulterated in race, and proud of
his complexion. Though somewhat violent in his gestures, and
paying but little regard to the strict rules of oratory, Dr. Delany is,
nevertheless, an interesting, eloquent speaker. Devotedly attached
to his fatherland, he goes for a "Negro Nationality." Whatever he
undertakes, he executes it with all the powers that God has given
him; and what would appear as an obstacle in the way of other
men, would be brushed aside by Martin R. Delany.
ROBERT SMALL.
At the breaking out of the rebellion, Robert Small was a slave in
Charleston, S. C. He stood amid a group of his fellow-slaves, as the
soldiers were getting ready to make the assault upon Fort Sumter,
and he said to his associates, "This, boys, is the dawn of freedom for
our race." Robert, at this time, was employed as pilot on board the
steamboat "Planter," owned at Charleston, and then lying at her
dock. The following day, the steamer commenced undergoing
alterations necessary to fit her for a gunboat. Robert, when within
hearing of the whites, was loud in his talk of what "we'll do with the
Yankees, when this boat is ready for sea." The Planter was soon
transmogrified into a rebel man-of-war, to be used in and about the
rivers and bays near Charleston, and Robert Small was her
acknowledged pilot. One of Robert's brothers was second engineer,
and a cousin to him was the second mate; the remainder of the
crew were all slaves, except the white officers. It was the custom of
the captain, chief mate, and chief engineer to spend the night with
their families in the city, when the steamer was in port, the vessel
being left in charge of Robert. The following is the account of the
capture of the boat by her black crew, as given by the Port Royal
correspondent of the New York Commercial Advertiser:—
"The steamer Planter, which was run away from the rebels by her
pilot, Robert Small, is a new tug boat employed about Charleston
harbor, which was seized by the Confederate government and
converted into a gunboat, mounting a rifled gun forward and a siege
gun aft. She has been in the habit of running out to sea to
reconnoitre, and was, therefore, no unusual appearance near the
forts guarding the entrance. Small, the helmsman and pilot,
conceived the idea of running away, and plotted with several friends,
slaves like him, to take them off.
"On the evening of May 11, her officers left the ship, then at the
wharf in Charleston, and went to their homes. Small then took the
firemen and assistant engineers, all of whom were slaves, in his
confidence, had the fires banked up, and every thing made ready to
start by daylight.
"At quarter to four on Saturday morning, the lines which fastened
the vessel to the dock were cast off, and the ship quietly glided into
the stream. Here the harbor guard hailed the vessel, but Small
promptly gave the countersign, and was allowed to pass.
"The vessel now called at a dock a distance below, where the
families of the crew came on board.